Mega Code Archive

 
Categories / Perl / Language Basics
 

Using boolean operator (and ) to connect the comparison operator

#!/usr/bin/perl -w print "Test one: ", 6 > 3 && 3 > 4, "\n"; print "Test two: ", 6 > 3 and 3 > 4, "\n";