in reply to Re^2: Illogical logic statementin thread Illogical logic statement
Try this:
if ( 'f' eq 't' ) { print "f equals t\n"; } else { print "f does not equal t\n"; } [download]