Help for this page

Select Code to Download


  1. or download this
    if ($x >= 1 && $x <= 10) {
        print "Correct match";
    } else {
        print "Incorrect";
    }
    
  2. or download this
    if ($x =~ /^([1-9]|10)$/) {
        # etc
    }