|
|
| There's more than one way to do things | |
| PerlMonks |
Serializing coderefsby jmerelo (Sexton) |
| on Jun 20, 2002 at 04:53 UTC ( [id://175932]=perlquestion: 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.jmerelo has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am trying to store code into XML, and I have bumped into CODEREFS. If I have a ref-to-subroutine, ¿how can I access the code? I know it invoves doing something with B::Generate, B, and possibly B::Utils, and this article seems to point the way. But I can't find a direct way of doing it. Looks like the latestest version of Data::Dumper does it also, but not the version of having it installed. Shouldn't coderefs be considered the same as array refs or hash refs?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||