|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: storable.pm+CODE refsby chromatic (Archbishop) |
| on Mar 27, 2001 at 18:00 UTC ( [id://67586]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
It's hard. I've tried. The best option I've found that doesn't involve mucking about in perlguts, interpreting PP code, and trying to recreate stashes and the like, is to keep around the text of an eval()d sub, or make a string that contains code to recreate the reference.
There are rumblings that The Damian is working on something to allow Data::Dumper to dump code references, and the same sort of technology will be much easier to attach to Storable. For now... good luck.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||