in reply to Introducing Data::Dump::Streamer
One limitation I've noticed in Data::Dumper is that it doesn't handle closures. e.g.,
my $foo; { my $bar = 'bar'; $foo = sub { return ($bar .= join $bar, @_) } } use Data::Dumper; print Dumper(\$foo);
That doesn't work. At all. (Okay, it prints *something*, but it's not anything *useful*.) Does your module handle this better? Or am I just being unreasonable in expecting to be able to dump something like that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Introducing Data::Dump::Streamer
by demerphq (Chancellor) on Feb 25, 2004 at 08:41 UTC | |
by jonadab (Parson) on Feb 26, 2004 at 13:13 UTC | |
by demerphq (Chancellor) on Feb 26, 2004 at 15:15 UTC | |
by ysth (Canon) on Feb 26, 2004 at 15:59 UTC | |
by demerphq (Chancellor) on Feb 26, 2004 at 16:40 UTC |