GX::Exception::StackTrace::Frame - Stack trace frame class
None.
This module provides the GX::Exception::StackTrace::Frame class.
new
Returns a new GX::Exception::StackTrace::Frame object.
$frame = GX::Exception::StackTrace::Frame->new( $level, @info );
$level ( integer )
$level
An integer identifying the position of the frame in the stack.
@info ( scalars )
@info
The frame information as provided by caller( $offset ).
caller( $offset )
$frame ( GX::Exception::StackTrace::Frame object )
$frame
as_string
Returns a text representation of the stack frame.
$string = $frame->as_string;
$string ( string )
$string
bitmask
Returns the bitmask frame information as provided by caller().
caller()
$value = $frame->bitmask;
$value ( scalar )
$value
evaltext
Returns the evaltext frame information as provided by caller().
$value = $frame->evaltext;
filename
Returns the filename frame information as provided by caller().
$value = $frame->filename;
hasargs
Returns the hasargs frame information as provided by caller().
$value = $frame->hasargs;
hinthash
Returns the hinthash frame information as provided by caller().
$value = $frame->hinthash;
hints
Returns the hints frame information as provided by caller().
$value = $frame->hints;
info
Returns a list with the stack frame information as provided by caller().
@info = $frame->info;
is_require
Returns the is_require frame information as provided by caller().
$value = $frame->is_require;
level
Returns the position of the frame in the stack.
$level = $frame->level;
line
Returns the line frame information as provided by caller().
$value = $frame->line;
package
Returns the package frame information as provided by caller().
$value = $frame->package;
subroutine
Returns the subroutine frame information as provided by caller().
$value = $frame->subroutine;
wantarray
Returns the wantarray frame information as provided by caller().
$value = $frame->wantarray;
GX::Exception
GX::Exception::StackTrace
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.