Help for this page

Select Code to Download


  1. or download this
    if($array[1] =~ m{ /:swiss \| \w+ \| \w+ }x) {
        ...
    }
    
  2. or download this
    my $match_re = qr{ ^ /:swiss \| \w+ \| \w+ }x;
    foreach my $line (@array_of_strings) {
    ...
            ...
        }
    }