Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Stacktrace with variables filled in?

by ruoso (Curate)
on Jul 04, 2006 at 16:20 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://559200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-18 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found