in reply to Re: problem with variables
in thread problem with variables
No, eq is for string comparison, which definitely wouldn't work here. In Perl == does numeric comparison.
See perlop.
You may be thinking of (korn) shell where it's the other way round.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: problem with variables
by JohnMG (Beadle) on Oct 19, 2005 at 17:19 UTC | |
by JohnMG (Beadle) on Oct 19, 2005 at 18:57 UTC | |
by Roy Johnson (Monsignor) on Oct 19, 2005 at 19:10 UTC |