That's the beauty of Free Software.
--- StackTrace.pm.ori 2006-07-04 12:59:23.056852912 -0300 +++ StackTrace.pm 2006-07-04 13:18:56.655438808 -0300 @@ -119,7 +119,14 @@ else { # force stringification - $_[0] . ''; + my $r = eval { + require Data::Dumper; + }; + if ($r) { + return Data::Dumper->new([$_[0]])->Terse(1)->Indent(0)->D +ump; + } else { + return $_[0].''; + } } }
In reply to Re: Stacktrace with variables filled in?
by ruoso
in thread Stacktrace with variables filled in?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |