[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [PATCH] Data::Dumper.pm



On Tue, Jan 11, 2000 at 09:41:01AM -0800, Larry Wall wrote:
> Tim Bunce writes:
> : On Tue, Jan 11, 2000 at 07:56:10AM -0800, Larry Wall wrote:
> : > james@ebookers.com writes:
> : > : Perhaps Deparse could programmatically become sure that the syntax is ok
> : > : by running it through eval, but beyond that I don't see it having many
> : > : other options.
> : > 
> : > A better approach might be to make Data::Dumper instruct Perl to 
> : > save a copy of the original code structure.
> : 
> : Eh?
> 
> I'm just saying, if Perl throws away info you need for reconstruction, then
> tell Perl not to throw it away, and maybe it won't.  :-)

Sure. If the implementors of B::Deparse are having a hard time because
perl currently makes it hard then, where practical, perl should be changed
to make it easier for B::Deparse to do-the-right-thing.

I guess you're saying that "use Data::Dumper;" could, at compile time,
set something that tells perl to save more information when compiling.
But that won't work for subs compiled before Data::Dumper was loaded.

Or maybe I'm still missing the point.

Tim.


Follow-Ups from:
Larry Wall <larry@wall.org>
References to:
Tim Bunce <Tim.Bunce@ig.co.uk>
Larry Wall <larry@wall.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]