in reply to Probably an easy one - store command in variable.
Any variable declared within and eval(STRING) will go out of scope at the end of the eval().
Perhaps you should take a step back and say why you think that you want to do this.
I suspect the thing you are really looking for is the anonymous subroutine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Probably an easy one - store command in variable.
by Joost (Canon) on Sep 15, 2005 at 17:08 UTC |