in reply to Re: Is it possible to determine the eval block accumulator?
in thread Is it possible to determine the eval block accumulator?
Perhaps I'm just overtired here, but my understanding is that what the OP is talking about is loading code into subroutines *once*, not eval'ing the same string over and over again, in which case those numbers will be static.
my $sub = eval q(sub { die }); for (1..10) { eval { $sub->() }; print "$@\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is it possible to determine the eval block accumulator?
by Abigail-II (Bishop) on Feb 14, 2003 at 12:48 UTC | |
by BlacKat (Novice) on Feb 15, 2003 at 01:38 UTC | |
by BlacKat (Novice) on Feb 15, 2003 at 01:40 UTC |