in reply to Re: Re: Is it possible to determine the eval block accumulator?
in thread Is it possible to determine the eval block accumulator?
AFAIK the eval counter begins at 1 and increments by 1 in the order of compilation, so you should be able to find the block in question easily enough by looking at the order in which they are compiled. You might also store the code snippets in their text form inside an array starting at index 1. The real question though is why you're storing the code in raw text? Why can't you place those subroutines in another file that you require? Also, unless you have strict control over what gets submitted to you in the form of text files, you may want to run this eval'd code inside a Safe.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is it possible to determine the eval block accumulator?
by Abigail-II (Bishop) on Feb 14, 2003 at 11:58 UTC | |
by djantzen (Priest) on Feb 14, 2003 at 12:44 UTC | |
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 |