Help for this page

Select Code to Download


  1. or download this
    use feature qw(switch);
     
    ...
      last;
      print
    }
    
  2. or download this
    $\="\n";
     
    ...
      when (/2/) {print "2 matched"};   # nix
      if   (/3/) {print "3 matched"};   # nada
    }