in reply to Re: Re: variable set to 0 ? 0 : 1
in thread variable set to 0 ? 0 : 1
for ( 0, 0.0, "0", "0.0", "0E0", 1, "1" ) { print $_, "\t", !!$_, "\t", ( $_==0 ? 0 : 1 ), "\n"; }
0 0 0 0 0 0 0.0 1 0 0E0 1 0 1 1 1 1 1 1
Argument "xyz" isn't numeric in numeric eq (==) at - line 3.when -w is enabled.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: variable set to 0 ? 0 : 1
by BrowserUk (Patriarch) on Sep 06, 2002 at 08:39 UTC |