Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Serializing coderefsby jmerelo (Sexton) |
on Jun 20, 2002 at 08:53 UTC ( [id://175932]=perlquestion: print w/replies, xml ) | Need Help?? |
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
|
|