Help for this page

Select Code to Download


  1. or download this
    @data=<FILE>;  <-- Puts the whole file in @data
    while(<FILE>)  <-- There's nothing left to read here.
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    while (<$fh>) {
       push @list, [split/s+/];
    }