MAB2::Parser::RAW(3pm)

MAB2::Parser::RAW3pm

Mab2 raw format parser

Usage

MAB2::Parser::RAW is a parser for raw MAB2 records.

MAB2::Parser::RAW expects UTF-8 encoded files as input. Otherwise provide a filehande with a specified I/O layer.

    use MAB2::Parser::RAW;
    my $parser = MAB2::Parser::RAW->new( $filename );
    while ( my $record_hash = $parser->next() ) {
        # do something        
    }

Arguments

"file"

Path to file with MAB2 Band records.

"fh"

Open filehandle for file with MAB2 Band records.

Methods

new($filename | $filehandle)

next()

Reads the next record from MAB2 input stream. Returns a Perl hash.

_decode($record)

Deserialize a raw MAB2 record to an ARRAY of ARRAYs.

Seealso

Catmandu::Importer::MAB2.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12–13

Author

Johann Rolschewski <[email protected]>

From libcatmandu-mab2-perl 0.24-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.