LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-20-2003, 10:27 AM   #1
lackluster
Member
 
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?
 
  


Reply


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 10:13 AM
Data structures - Trees rahul_kulkarni Programming 1 05-16-2005 05:45 AM
java data structures tunedLow Programming 4 12-17-2002 11:51 AM
Error copying large files from cdrom patrickyeo Linux - Hardware 1 11-03-2002 06:46 PM
Are there man pages for data structures? concoran Programming 3 07-05-2002 03:07 PM


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

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