Now the resulting object is complex and large and takes a fair bit of work to put together so what I want to to is be able to save the object to disk.new ObjectName( code => sub { do some perl stuff with @_ } );
The problem though (as you can guess) is accessing the code in the coderef. I want to be able to save it in some manner. Now I don't need to keep the perl code itself. If there's some way of storing the bytecode or anything else that I can at least execute once read back from a file, then I'm happy.
Thanks and cheers
Rick
In reply to Saving code from an anonymous coderef by BigLug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |