http://www.perlmonks.org?node_id=653824


in reply to Need to match number other than 1

if ( $number =~ /^\d*$/ and $number != 1 ) { # not 1 stuff here }
Ted
--
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson