Devel::StackTrace::WithLexicals man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Devel::StackTrace::WitUseriContributed Perl Devel::StackTrace::WithLexicals(3)

NAME
       Devel::StackTrace::WithLexicals - Devel::StackTrace + PadWalker

SYNOPSIS
	   use Devel::StackTrace::WithLexicals;

	   my $trace = Devel::StackTrace::WithLexicals->new;
	   ${ $trace->frame(1)->lexical('$self') }->oh_god_why();

DESCRIPTION
       Devel::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.

METHODS
       All 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.

AUTHOR
       Shawn M Moore, "sartak@gmail.com"

BUGS
       I 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 LICENSE
       Copyright 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.1			  2011-04-22Devel::StackTrace::WithLexicals(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net