Help for this page

Select Code to Download


  1. or download this
    
    [danger:jandrew:~]$ cat blah.pl 
    ...
    o> stop
    o> four
    
  2. or download this
    my @data = qw/one start two three stop four/;
    foreach (grep {not ((/^start/../^stop/) =~ /^1?$|E/) } @data) { 
    ...
    foreach (grep {not +(/^start/../^stop/) =~ /^1?$|E/ } @data) { 
        print "o> $_\n";
    }