#comparison.pl use warnings; use strict; if ("1a" lt "2b") { print "1a is less than 2b."; } if ("2b" gt "1a") { print "2b is greater than 1a."; }