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

NAME

Parrot::Embed - use Parrot from Perl 5

VERSION

Version 0.02

SYNOPSIS

  use Parrot::Embed qw(Parrot_revision);

DESCRIPTION

This module embeds libparrot in Perl 5 programs. You can load Parrot bytecode, compile your own code, and call Parrot subroutines and send and receive values to them.

It provides the core implementation used by the Parrot::Interpreter module. Do consider using Parrot::Interpreter first however. See also Parrot::PMC.

The only useful interface provided by this module is Parrot_revision().

Parrot_revision()

Returns the integer revision number of the embedded libparrot.

AUTHOR

chromatic, <chromatic at wgz.org>

BUGS

Please report any bugs or feature requests to the Parrot Porters mailing list. Someday there may be a CPAN version of this code. Who knows?

COPYRIGHT & LICENSE

Copyright (C) 2006-2007 The Perl Foundation / chromatic.

This program is free software; you can redistribute it and/or modify it under the same terms as Parrot itself.