Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use Modern::Perl;
    ...
    } else {
        say "No match.";
    }
    
  2. or download this
    $line =~ /^>(\w+)/;   # capture as many consecutive \w characters as p
    +ossible following >
    $line =~ /^>(\S+)/;  # capture as many consecutive non-whitespace char
    +s as possible following >