I'd encourage you to use Data::Dumper. It may not work on 100% of all code, but it's close (leaving aside issues of closures, which you would also have with bytecode), and when bugs are reported they do get fixed promptly.
In reply to Re: Serializing code refs
by ysth
in thread Serializing code refs
by Akhasha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |