Варяник Алексей > Data-MPQ-0.04 > Data::MPQ

Download:
Data-MPQ-0.04.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Data::MPQ - Perl module to parse MoPaQ Archive Format

SYNOPSIS ^

    use Data::MPQ;

    my $mpq = Data::MPQ->new(filename => 'my_game.sc2replay');
    $mpq->parse;

    my $archive = $mpq->archive;
    print for $archive->list_file;
    print $archive->file('(listfile)')->slurp;

DESCRIPTION ^

This module give you a raw access to MPQ archive files.

MPQ, is an archiving file format used in several of Blizzard Entertainment's games.

METHODS ^

new

Constructor for the Data::MPQ class. Has only one input parameter:

    filename - path to the mpq archive file

parse

Method to do the parse of the MPQ file

shunt

Accessor to the Data::MPQ::Shunt object (could be without it)

archive

Accessor to the Data::MPQ::Archive object - heart of the MPQ file.

AUTHOR ^

cono q@cono.org.ua

C corporation (c)

syntax highlighting: