Query: devel::stacktrace::withlexicals
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Devel::StackTrace::WithLexicals(3pm) User Contributed Perl Documentation Devel::StackTrace::WithLexicals(3pm)NAMEDevel::StackTrace::WithLexicals - Devel::StackTrace + PadWalkerSYNOPSISuse Devel::StackTrace::WithLexicals; my $trace = Devel::StackTrace::WithLexicals->new; ${ $trace->frame(1)->lexical('$self') }->oh_god_why();DESCRIPTIONDevel::StackTrace is pretty good at generating stack traces. PadWalker is pretty good at the inspection and modification of your callers' lexical variables. Devel::StackTrace::WithLexicals is pretty good at generating stack traces with all your callers' lexical variables.METHODSAll the same as Devel::StackTrace, except that frames (in class Devel::StackTrace::WithLexicals::Frame) also have a "lexicals" method. This returns the same hashref as returned by PadWalker. If the "no_refs" option to Devel::StackTrace is used, then each reference is stringified. This can be useful to avoid leaking memory. Simple, really.AUTHORShawn M Moore, "sartak@gmail.com"BUGSI had to copy and paste some code from Devel::StackTrace to achieve this (it's hard to subclass). There may be bugs lingering here.COPYRIGHT AND LICENSECopyright 2008-2009 Shawn M Moore. Some portions written by Dave Rolsky, they belong to him. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-04-22 Devel::StackTrace::WithLexicals(3pm)
Similar Topics in the Unix Linux Community |
---|
Diving In |
How good are you? |
replace word with using "sed" not work... |
Dumbest UNIX question ever |
Organize (pretty) code |