Wc -Sx- Jones wrote: > david wrote: > >>>NULL > >> what do you mean by NULL? >> >> david > > explicit zero (0) or nothing ( or undefined.) > > That is NOT true (it's not false either per se...) >
you sound more confuse than your previous reply :-) maybe my question isn't so clear. you said: > > These are false (or undefined) - > > 0 > "0" > "" > NULL so let's see: [panda]# perl -e '0 or die correct' correct at -e line 1. [panda]# perl -e '"0" or die correct' correct at -e line 1. [panda]# perl -e '"" or die correct' correct at -e line 1. so far so good. now for NULL: [panda]# perl -e 'NULL or die correct' [panda]# die never executed so is NULL true or false? perhaps you mean undef when you mentioned NULL: [panda]# perl -e 'undef or die correct' correct at -e line 1. you also mentioned: > > explicit zero (0) or nothing ( or undefined.) > > That is NOT true (it's not false either per se...) > this is impossible in Perl. show me an example where something is neither true nor false. david -- s$s*$+/<tgmecJ"ntgR"tgjvqpC"vuwL$;$;=qq$ \x24\x5f\x3d\x72\x65\x76\x65\x72\x73\x65 \x24\x5f\x3b\x73\x2f\x2e\x2f\x63\x68\x72 \x28\x6f\x72\x64\x28\x24\x26\x29\x2d\x32 \x29\x2f\x67\x65\x3b\x70\x72\x69\x6e\x74 \x22\x24\x5f\x5c\x6e\x22\x3b\x3b$;eval$; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>