Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    while (<$fh>){
       ...
    }
    
  2. or download this
    my @list = map {$_ => 1} @other_list;
    my @filtered_list = grep {$_ =~ /blah/} @some_list;