Preceptor has asked for the wisdom of the Perl Monks concerning the following question:
operator, a and b are parameters read from a file.$a= 10; $b= 20; $operator= ">=" if ( $a $operator $b ) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamic operators
by davorg (Chancellor) on Sep 11, 2002 at 08:01 UTC | |
by Juerd (Abbot) on Sep 11, 2002 at 13:03 UTC | |
|
Re: Dynamic operators
by Chmrr (Vicar) on Sep 11, 2002 at 08:33 UTC | |
by John M. Dlugosz (Monsignor) on Sep 11, 2002 at 18:43 UTC | |
|
Re: Dynamic operators
by kabel (Chaplain) on Sep 11, 2002 at 08:02 UTC | |
by demerphq (Chancellor) on Sep 11, 2002 at 11:41 UTC | |
by kabel (Chaplain) on Sep 11, 2002 at 20:56 UTC |