|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
How do I print out or copy a recursive data structure?by faq_monk (Initiate) |
| on Oct 08, 1999 at 00:20 UTC ( #640=perlfaq nodetype: print w/ replies, xml ) | Need Help?? |
|
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version: The Data::Dumper module on CPAN is nice for printing out data structures, and FreezeThaw for copying them. For example:
use FreezeThaw qw(freeze thaw);
$new = thaw freeze $old;
Where
|
|