Help for this page

Select Code to Download


  1. or download this
      my @fields = split /\s+/, $templine;
    
      # do something with $fields[0], $fields[4], etc ..
    
  2. or download this
      my %record;
      @record{qw/group ac g f start end time mb files l kb/}
          = split /\s+/, $templine;
    
      # do something with $record{group}, $record{f}, $record{end}, etc..
    
  3. or download this
      use strict; # hint hint
      my $file = 'c:\somepath\somefilename';
    ...
        }
      }
      close(FILE);