Movatterモバイル変換


[0]ホーム

URL:


 / 
StackTrace-HiPerf-0.01
River stage zero No dependents
/StackTrace::HiPerf

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.

Module Install Instructions

To install StackTrace::HiPerf, copy and paste the appropriate command in to your terminal.

cpanm

cpanm StackTrace::HiPerf

CPAN shell

perl -MCPAN -e shellinstall StackTrace::HiPerf

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp