Possible Duplicate:
How do I use boolean variables in Perl?
[root@ ~]$ perl -e 'if(true){print 1}'
1
[root@ ~]$ perl -e 'if(false){print 1}'
1
I'm astonished both true and false passes the if...
Possible Duplicate:
How do I use boolean variables in Perl?
[root@ ~]$ perl -e 'if(true){print 1}'
1
[root@ ~]$ perl -e 'if(false){print 1}'
1
I'm astonished both true and false passes the if...