in reply to Re: Getting size of call stack
in thread Getting size of call stack
For my liking though, this is more intuitive:
my @stack; my $depth = 0; while (my @frame = caller $depth++) { push @stack, \@frame[0,1,2]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Getting size of call stack
by diotalevi (Canon) on Jan 30, 2005 at 01:09 UTC | |
by aufflick (Deacon) on Feb 02, 2005 at 04:24 UTC |