in reply to Need to match number other than 1
if ( $number =~ /^\d*$/ and $number != 1 ) { # not 1 stuff here } [download]