Wc -Sx- Jones wrote: > david wrote: > >> * You *might* be saying $i is unknown (or undef) because $ENV{something} >> can be true, or false or neither true nor false which '?:' can't handle. >> correct? > > Undef is a valid condition in Perl Yes or No?
yes but is undef true or false? and when you evaluate undef as a boolean expression, what possible values can it has? i say: * 2 possible values: true or false your previous posts sound like: * 3 possible values (3-way logic): true or false or neither true nor false and my very original quesiont is: show me an expression where it can be evaluated to 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>