The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

StackTrace::HiPerf - High performance stacktraces

VERSION

0.01

SYNOPSIS

 use StackTrace::HiPerf;
 my $trace = StackTrace::HiPerf::trace();

DESCRIPTION

This module's purpose is to provide the most efficient way to generate a stacktrace. The traces it generates are delimited strings. Each entry contains the line number and the file name of the sub or eval invocation.

An example trace could look like this "79|Foo.pm||34|Bar.pm||56|Baz.pm||".

As its implemented now this module isn't very flexible or general purpose. If generalizing it proves useful then that may happen in the future.

FUNCTIONS

trace

Returns the current stack trace in string form. Takes an optional integer argument indicating at which stack level to start the trace.

AUTHOR

Justin DeVuyst, justin@devuyst.com

COPYRIGHT AND LICENSE

Copyright 2009 by Justin DeVuyst.

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.