in reply to Re: Devel::Peek output to a string?
in thread Devel::Peek output to a string?
use strict; use warnings; use Devel::Peek; # initialized here my $sOut = ""; close(STDERR); open(STDERR, ">", \$sOut) or die "Can't redirect STDERR to \\\$sOut"; my $s=1; Devel::Peek::Dump $s; Devel::Peek::Dump $s; print "<<$sOut>>\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Devel::Peek output to a string?
by ikegami (Patriarch) on Feb 26, 2009 at 02:07 UTC | |
|
Re^3: Devel::Peek output to a string?
by ELISHEVA (Prior) on Feb 26, 2009 at 07:20 UTC |