Scroll to navigation

PAR::Filter::Bytecode(3pm) User Contributed Perl Documentation PAR::Filter::Bytecode(3pm)

NAME

PAR::Filter::Bytecode - Bytecode filter

SYNOPSIS

    PAR::Filter::Bytecode->apply(\$code); # transforms $code

DESCRIPTION

This filter is deprecated. The B::Bytecode code has been removed from the newest development series of perl and will not be included in perl 5.10 any more. Please have a look at Steve Hay's PAR::Filter::Crypto module if you want to hide your sources.

This filter uses B::Bytecode to turn the script into comment-free, architecture-specific Perl bytecode, and uses ByteLoader 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.

CAVEATS

This backend exhibits all bugs listed in B::Bytecode, 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).

Bytecode is not supported by perl 5.9 and later.

SEE ALSO

PAR::Filter, B::Bytecode, ByteLoader

Filter::Crypto, PAR::Filter::Crypto

AUTHORS

Audrey Tang <cpan@audreyt.org>

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-packer@rt.cpan.org>.

COPYRIGHT

Copyright 2003-2009 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.

See LICENSE.

2022-12-23 perl v5.36.0