Help for this page

Select Code to Download


  1. or download this
      if ($input =~ /^[0-9]$/) {
        print "input was a single digit number\n";
      } else {
        print "input wasn't a single digit number\n";
      }
    
  2. or download this
    ^   Match the beginning of the line
    $   Match the end of the line (or before newline at the end)
    
  3. or download this
    # Under Construction