The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::MPQ::Archive::BlockTable - Perl module to work with MPQ archive block table

SYNOPSIS

    use Data::MPQ;
    use Data::MPQ::Constants qw(DEFAULT_LANGUAGE DEFAULT_PLATFORM);

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

    my $archive = $mpq->archive;

    my $block_id = $archive->
        hash_table->
        find_hash_entry('(listfile)', DEFAULT_LANGUAGE, DEFAULT_PLATFORM)->
        file_block_index;
    print $archive->
        block_table->
        get_block($block_id)->
        is_file;

DESCRIPTION

This module parse and give you an access to MPQ block table

METHODS

AUTHOR

cono q@cono.org.ua

C corporation (c)