Well, this is actually a problem of B::Deparse and perl overall than it is Dumper or Streamer's fault. There is no way (that I no of, feel free to educate me :-) to know what vars _were_ in the lexical enviornment of the sub, nor to know that when the dump is evaled back whether the user has arranged for these vars to be available or not. IMO this is beyond the requirements of these modules. If you need to use them for serialization of subs then you should take care to manage such things yourself. Personally I only included it to make debugging easier. :-)
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
In reply to Re: Re: Re: Re: Introducing Data::Dump::Streamer
by demerphq
in thread Introducing Data::Dump::Streamer
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |