I don't get a stack trace. Once it has finished the eval, the stack is no longer there.#!/usr/bin/perl -w use strict; use Carp; eval { main(); }; if ( $@ ) { confess($@); } exit; sub foo { my $aargh = shift; die $aargh; } sub main { foo "hello world\n"; }
In reply to Re: Re: How do I get a post mortem stack trace?
by rinceWind
in thread How do I get a post mortem stack trace?
by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |