Help for this page

Select Code to Download


  1. or download this
    my @answers;
    while (my $line = <DATA>){
    ...
        my @results;
        if (@results = $line =~ /$re/){
          push @answers, ["@results"];
    
  2. or download this
        }
      }
    }
    
  3. or download this
       # ...
      for my $re (@res){
    ...
        push @answers, \ @results if @results = $line =~ $re;
      }
      # ...