NAME

Parrot::PackFile

SYNOPSIS

use Parrot::PackFile;

DESCRIPTION

This package contains all the functions required to process a Parrot bytecode file. It is not intended to understand the contents of the bytecode file's segments, but merely to dissect and reconstruct data from the various segments. See parrotbyte for information about the structure of the frozen bycode.

byte_code =head2 byte_code CODE

Get or set the byte code.

const_table

Get the constant table, and instance of the Parrot::PackFile::ConstTable class.

fixup_table

Get the fixup table, and instance of the Parrot::PackFile::FixupTable class.

magic

Get the magic number.

new

Make a new instance.

pack

Pack the contents to a string.

pack_file FILENAME

Pack the contents to a string and write it to the named file.

pack_filehandle FILEHANDLE

Pack the contents to a string and write it to the filehandle.

unpack STRING

Unpack the contents from the string.

unpack_file FILENAME

Unpack the contents from the named file.

unpack_filehandle FILEHANDLE

Unpack the contents from the filehandle.

AUTHOR

Gregor N. Purdy <gregor@focusresearch.com>

COPYRIGHT

Copyright (C) 2001 Gregor N. Purdy. All rights reserved.

LICENSE

This program is free software. It is subject to the same license as Perl itself.