Parse::FixedLength

Parse an ascii string containing fixed length fields into component parts
Download

Parse::FixedLength Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Douglas Wilson
  • Publisher web site:
  • http://search.cpan.org/~dougw/

Parse::FixedLength Tags


Parse::FixedLength Description

Parse an ascii string containing fixed length fields into component parts Parse::FixedLength is a Perl module that facilitates the process of breaking a string into its fixed-length components. Sure, it's a glorified (and in some ways more limited) substitute for the perl functions pack and unpack, but it's my belief that this module helps in the maintainability of working with fixed length formats as the number of fields in a format grows.SYNOPSIS use Parse::FixedLength qw(subclassed parsers); $parser = Parse::FixedLength->new(\@format); $parser = Parse::FixedLength->new(\@format, \%parameters); $parser = Parse::FixedLength->new($format); $parser = Parse::FixedLength->new($format, \%parameters); $hash_ref = $parser->parse($data); $data = $parser->pack($hash_ref); $converter = $parser1->converter($parser2); $converter = $parser1->converter($parser2, \%mappings); $converter = $parser1->converter($parser2, \@mappings); $converter = $parser1->converter($parser2, \%mappings, \faults); $converter = $parser1->converter($parser2, \@maps, \lts, \%parms); $data_out = $converter->convert($data_in); Requirements: · Perl


Parse::FixedLength Related Software