in reply to in Perl 0 != 0 ... and this is good
Your first bit of code shows me that "one" == 0 always.
print "0x23"+0 prints 0.
Turn on warnings, not strict, if you want to catch these conversions.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |