in reply to How to use eval?
When I try it, it prints "1" to the screen, just as it should.
Now, if you had said print "$result\n"; at the end, that 1 would be on a line of it's own, and more easily visible - which is what I think your problem was.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to use eval?
by iwanthome (Beadle) on Apr 09, 2004 at 07:37 UTC | |
by bmann (Priest) on Apr 09, 2004 at 07:51 UTC | |
by matija (Priest) on Apr 09, 2004 at 08:09 UTC | |
by ambrus (Abbot) on Apr 09, 2004 at 20:55 UTC |