develooper Front page | perl.perl5.porters | Postings from November 1999

marshal a coderef?

November 11, 1999 21:30
marshal a coderef?
Message ID:

So, this may already be on someone's to-do list, but how long will it
be before we can peek behind a coderef and get either a digestable
object or opaque blob that can be used to serialize the code and then
recover a similar coderef through a compatible process?

I recall there was some talk about B::Deparse being able to generate
Perl text from a coderef.  Did that happen?

Even if it was just for a subset of applications (like all coderefs
that aren't closures), that'd be great.  Of course, we'll have to have
access to all lexical variables as well.  (I guess the closure info
would be nearby that. :)

Any definitive statements?

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<> <URL:>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See for onsite and open-enrollment Perl training! Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About