Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
the result is 4+3=4+3... not exactly what I need...$question="4+3"; eval {$answer=$question;}; print "$question=$answer";
Edit by castaway added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using eval
by Somni (Friar) on May 26, 2004 at 02:09 UTC | |
|
Re: using eval
by mifflin (Curate) on May 26, 2004 at 00:11 UTC | |
|
Re: using eval
by eclark (Scribe) on May 26, 2004 at 02:15 UTC | |
|
Re: using eval
by Trag (Monk) on May 26, 2004 at 01:13 UTC | |
|
Re: using eval
by sleepingsquirrel (Chaplain) on May 26, 2004 at 15:05 UTC | |
|
Re: using eval
by Anonymous Monk on May 28, 2004 at 18:59 UTC |