Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stacktrace::auto(3pm) [debian man page]

StackTrace::Auto(3pm)					User Contributed Perl Documentation				     StackTrace::Auto(3pm)

NAME
StackTrace::Auto - a role for generating stack traces during instantiation VERSION
version 0.102080 SYNOPSIS
First, include StackTrace::Auto in a Moose class... package Some::Class; use Moose; with 'StackTrace::Auto'; ...then create an object of that class... my $obj = Some::Class->new; ...and now you have a stack trace for the object's creation. print $obj->stack_trace->as_string; ATTRIBUTES
stack_trace This attribute will contain an object representing the stack at the point when the error was generated and thrown. It must be an object performing the "as_string" method. stack_trace_class This attribute may be provided to use an alternate class for stack traces. The default is Devel::StackTrace. In general, you will not need to think about this attribute. stack_trace_args This attribute is an arrayref of arguments to pass when building the stack trace. In general, you will not need to think about it. AUTHORS
o Ricardo SIGNES <rjbs@cpan.org> o Florian Ragwitz <rafl@debian.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-07-27 StackTrace::Auto(3pm)

Check Out this Related Man Page

Devel::StackTrace::WithLexicals(3pm)			User Contributed Perl Documentation		      Devel::StackTrace::WithLexicals(3pm)

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.2 2011-04-22 Devel::StackTrace::WithLexicals(3pm)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Auto Complete

Hi ! Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ? Thanks! Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies

2. Solaris

Esc key/Auto-fill

I'm an HPUX/Linux guy, who appreciates occasionally hitting the Esc key for Auto-fill... Does sunOS have anything like this? This is my 1st post, and I didn't want to waste it :D thanks, manuel (3 Replies)
Discussion started by: mr_manny
3 Replies

3. Shell Programming and Scripting

removing spaces after sperator

Hi friends i have problem 6000000001| CDC049| 109| CDC| 02/02/2006| Auto| New Add| 02/03/2006 6000000002| CDC033| 109| CDC| 02/02/2006| Auto| New Add| 02/03/2006 6000000003| CDC037| 109| CDC| 02/02/2006| Auto| New Add| 02/03/2006 6000000004| CDC031| ... (6 Replies)
Discussion started by: vishnu_vaka
6 Replies

4. Shell Programming and Scripting

Auto exchange service

(0 Replies)
Discussion started by: bestegold-excha
0 Replies

5. Shell Programming and Scripting

Perl + object-oriented programming help

Currently Im trying to write a program that manipulates a class-based object as part of its functionality. However, the perl compiler is complaining that the class's respective package is not returning a true value. I have done the following a) Created a new package containing the body of the... (1 Reply)
Discussion started by: JamesGoh
1 Replies

6. Shell Programming and Scripting

Auto redirection in Perl

(1 Reply)
Discussion started by: gentleDean
1 Replies

7. Linux

Wget 410

I'm trying to download some pages with Wget. The browser can load these pages, but Wget give a 410 error. One of the pages is: Central Ohio Auto Dealers - Used Cars - Find BBB Accredited Auto Dealers - Used Cars in Central Ohio, Page 4 (2 Replies)
Discussion started by: rlopes
2 Replies

8. UNIX for Dummies Questions & Answers

Auto Version update

We have a version for every file like RHZ 1.0 / Ver 1.4.2 etc. Whenever I place a new file with same file name i want the version to get auto upgraded. So can anyone suggest code.. Eg: RHX 1.0 -> RHZ 1.1 Ver 1.4.2. -> Ver 1.4.3 (1 Reply)
Discussion started by: krishna87
1 Replies

9. Shell Programming and Scripting

Java stack trace parser in awk

I want the developers to get a mail with Java stack traces on a daily bases. When something is flaged as known issue and will get a fix but mean while this does not need to get sent each dayl. This is what I got so far. It's a bash script that runs some AWK in it. To get the files that needs to... (6 Replies)
Discussion started by: chipmunken
6 Replies