Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Stacktrace with variables filled in?

by ruoso (Curate)
on Jul 04, 2006 at 16:20 UTC ( #559200=note: print w/replies, xml ) Need Help??


in reply to Stacktrace with variables filled in?

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].''; + } } }
daniel

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://559200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2020-11-29 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?