On Thu, Jun 30, 2005 at 09:44:06AM +0200, demerphq wrote:
> > Out of curiousity, if Data::Dumper::Streamer can handle
> > closures why not fix B::Deparse?
> 
> I'm not really sure what you mean by "fix" B::Deparse. B::Deparse does
> exactly what it says it does: it deparses code.  We can't consider it
> broken for not doing something it doesn't claim to do in the first
> place.

B::Deparse has a coderef2text() method which can deparse individual routines.
Many have lamented that it does not take closure context into account.
This means that the output from coderef2text() cannot be eval'd into a
routine with the same functionality.  It causes problems in serialization.


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern
Ahh email, my old friend.  Do you know that revenge is a dish that is best 
served cold?  And it is very cold on the Internet!

Reply via email to