aufflick has asked for the wisdom of the Perl Monks concerning the following question:
It is possible to determine if, at any point of time, we are executing withing an eval block by checking the value of $^S.
Does anyone know if it's possible to determine if we are a certain depth within nested evals? $^S remains 1 no matter what depth.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Determining depth of eval nesting
by snoopy (Curate) on Apr 03, 2007 at 07:08 UTC | |
by aufflick (Deacon) on Apr 12, 2007 at 05:56 UTC | |
|
Re: Determining depth of eval nesting
by BrowserUk (Patriarch) on Apr 03, 2007 at 07:20 UTC | |
by ferreira (Chaplain) on Apr 03, 2007 at 18:58 UTC | |
by diotalevi (Canon) on Apr 04, 2007 at 03:20 UTC | |
|
Re: Determining depth of eval nesting (patch)
by tye (Sage) on Apr 04, 2007 at 15:49 UTC | |
by aufflick (Deacon) on Apr 12, 2007 at 05:58 UTC |