PAR::Tutorial - Cross-Platform Packaging and Deployment with PAR


NAME

PAR::Tutorial - Cross-Platform Packaging and Deployment with PAR


SYNOPSIS

This is a tutorial on PAR, first appeared at the 7th Perl Conference. The HTML version of this tutorial is available online as http://aut.dyndns.org/par-tutorial/.


DESCRIPTION

On Deploying Perl Applications

 % sshnuke.pl 10.2.2.2 -rootpw="Z1ON0101"
 Perl v5.6.1 required--this is only v5.6.0, stopped at sshnuke.pl line 1.
 BEGIN failed--compilation aborted at sshnuke.pl line 1.

PAR, the Perl Archive Toolkit

Simple Packaging

PAR Loaders

Dependency Scanning

Perl Packager: pp

How it works

Aggregating multiple programs

Cross-platform Packages

The Anatomy of a PAR file

Special files

Advantages over perlcc, PerlApp and Perl2exe

MANIFEST: Best viewed with Mozilla

META.yml: Metadata galore

SIGNATURE: Signing and verifying packages

Perl Servlets with Apache::PAR

Hon Dah, A-par-che!

On-demand library fetching

Code Obfuscation

Accessing packed files

Packing GUI applications

Precompiled CPAN distributions

Platform-specific Tips

Thank you!

Bonus Slides: PAR Internals

Overview of PAR.pm's Implementation

Code References in @INC

Source Filtering without Filter::* Modules

Source Filtering without Filter::* Modules (cont.)

Overriding DynaLoader::bootstrap

Anatomy of a Self-Contained PAR executable

Self-Bootstrapping Tricks

Thank you (again)!


SEE ALSO

http://www.autrijus.org/par-tutorial/

http://www.autrijus.org/par-intro/ (English version)

http://www.autrijus.org/par-intro.zh/ (Chinese version)

PAR, pp, par.pl, parl

the ex::lib::zip manpage, the Acme::use::strict::with::pride manpage

the App::Packer manpage, the Apache::PAR manpage, the CPANPLUS manpage, the Module::Install manpage


AUTHORS

Autrijus Tang <autrijus@autrijus.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

Copyright 2003, 2004 by Autrijus Tang <autrijus@autrijus.org>.

This document is free documentation; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

 PAR::Tutorial - Cross-Platform Packaging and Deployment with PAR