Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-20-2003, 11:27 AM   #1
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
perl->large data structures->copying

I have a LARGE perl data structure that I need to cut up, splice and basically just screw with. I need to, however, preserve one copy of it. Is there an easy way to copy a structure? I can, of course, make pointers and whatnot to it, but then I'm still talking about the same structure and all the changes will be reflected in the pointer to it. I'm looking to copy the structue. I thought about printing it to a file, and then later eval'ing it, but that seems like more trouble than it's worth. Any thoughts?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying large files to FAT32 sketch7 Linux - General 11 10-22-2007 11:13 AM
Data structures - Trees rahul_kulkarni Programming 1 05-16-2005 06:45 AM
java data structures tunedLow Programming 4 12-17-2002 12:51 PM
Error copying large files from cdrom patrickyeo Linux - Hardware 1 11-03-2002 07:46 PM
Are there man pages for data structures? concoran Programming 3 07-05-2002 04:07 PM

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration