Help for this page

Select Code to Download


  1. or download this
    package PM::FixedWidthFile;
    
    ...
    =head1 NAME
    
    PM::FixedWidthFile - TODO (for Jake): module documentation in POD form
    +at
    
  2. or download this
    use PM::FixedWidthFile qw{populate_file};
    ...
    ...
    my $file_data = ...;
    open my $fh, '>', $outfile;
    populate_file($fh, $record_length, $file_data);
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
        system qw{cat -vet}, $outfile;
        unlink $outfile; # my housekeeping
    }
    
  4. or download this
    Populating: ./pm_fixed_width_file.out_0
              123       456         $
    ...
              123       456       78$
    Populating: ./pm_fixed_width_file.out_2
    Data [789] too large for field of length [2] at ./pm_fixed_width_file.
    +pl line 32.