Help for this page

Select Code to Download


  1. or download this
    foreach (@lines) {
      @results = split; # splits on whitespace
      ... # do stuff with results
    }
    
  2. or download this
    foreach (@lines) {
      @results = split /\|/; # splits on pipe char
      ... # do stuff with results
    }