Nikita Zubkov

NAME

Stuff::StackTrace

METHODS

new

  my $trace = Stuff::StackTrace->new;
  my $trace = Stuff::StackTrace->new( frame_classs => 'MyStackTraceFrame' );
  my $trace = Stuff::StackTrace->new( raw_frames => \@raw_frames );
  my $trace = Stuff::StackTrace->new( frames => \@frames );
  

to_string

  my $string = $trace->to_string;
  my $string = "$trace";

substract

  $trace->substract; # same as $trace->substract( $trace->new );
  $trace->substract( $other_trace );

ATTRIBUTES

raw_frames

Stack frames, as they come from caller(...).

frames

Stack frames converted to objects of class frame_class.

frame_class

Class for frame objects.