in reply to Distinguishing between padded and non-padded literal numbers...
if ( '0001' eq '1' ) { print "they are equal\n"; } else { print "they aren't equal\n"; } [download]
will print "they aren't equal";