if ( $a == $b and $a == $c ) { print "true\n"; } else { print "not true"; }