|
|
PAR::Filter::Bytecode - Bytecode filter
PAR::Filter::Bytecode->apply(\$code); # transforms $code
This filter uses the B::Bytecode manpage to turn the script into comment-free, architecture-specific Perl bytecode, and uses the ByteLoader manpage to load back on execution.
For pp users, please add an extra -M option, like this:
pp -f Bytecode -M ByteLoader
Otherwise, the implicit dependency on ByteLoader will not be detected.
This backend exhibits all bugs listed in the B::Bytecode manpage, and then some.
Bytecode support is considered to be extremely fragile on Perl versions earlier than 5.8.1, and is still far from robust (as of this writing).
the PAR::Filter manpage, the B::Bytecode manpage, the ByteLoader manpage
Audrey Tang <cpan@audreyt.org>
http://par.perl.org/ is the official PAR website. You can write to the mailing list at <par@perl.org>, or send an empty mail to <par-subscribe@perl.org> to participate in the discussion.
Please submit bug reports to <bug-par@rt.cpan.org>.
Copyright 2003, 2004, 2005, 2006 by Audrey Tang <cpan@audreyt.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.