perl -e 'if (undef() eq undef()) {print "true" }else{ print "false"}'
This variation (unexpectedly) prints nothing:
perl -ew 'if (undef() eq undef()) {print "true" }else{ print "false"}'
Do any of you brothers (be you either male or female) have a clue as to why this difference in behavior?
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
In reply to Unexpected effect of -w with undef by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |