Help for this page

Select Code to Download


  1. or download this
    my @array;
    while ($line = <DATA>) {
    ...
        push(@array, $line);
      }
    }
    
  2. or download this
    my @array;
    while ($line = <DATA>) {
    ...
        push(@array, $1);   # holds the result of the match from the last 
    +regexp
      }
    }