Help for this page

Select Code to Download


  1. or download this
    my $de = DataExtract::FixedWidth->new(
      cols => ['table 1',  'table 2' , 'key 1', 'key 2'],
      header_row => 'table 1  table 2  key 1  key 2'
    )
    
  2. or download this
    my $de = DataExtract::FixedWidth->new( heuristic => \@lines );
    for ( @lines ) {
      next unless m/\w/; ## skips the definition row of ----
      $de->parse_hash( $_ )
    }