# $File: //member/autrijus/PAR/lib/PAR.pm $ $Author: autrijus $ # $Revision: #83 $ $Change: 10970 $ $DateTime: 2004/07/02 09:05:49 $ vim: expandtab shiftwidth=4 package PAR; $PAR::VERSION = '0.85'; use 5.006; use strict; use warnings; use Config '%Config'; =head1 NAME PAR - Perl Archive Toolkit =head1 VERSION This document describes version 0.85 of PAR, released July 1, 2004. =head1 SYNOPSIS (If you want to make an executable that contains all module, scripts and data files, please consult the bundled L utility instead.) Following examples assume a F file in Zip format; support for compressed tar (F<*.tgz>/F<*.tbz2>) format is under consideration. To use F from F<./foo.par>: % perl -MPAR=./foo.par -MHello % perl -MPAR=./foo -MHello # the .par part is optional Same thing, but search F in the C<@INC>; % perl -MPAR -Ifoo.par -MHello % perl -MPAR -Ifoo -MHello # ditto Following paths inside the PAR file are searched: /lib/ /arch/ /i386-freebsd/ # i.e. $Config{archname} /5.8.0/ # i.e. $Config{version} /5.8.0/i386-freebsd/ # both of the above / PAR files may also (recursively) contain other PAR files. All files under following paths will be considered as PAR files and searched as well: /par/i386-freebsd/ # i.e. $Config{archname} /par/5.8.0/ # i.e. $Config{version} /par/5.8.0/i386-freebsd/ # both of the above /par/ Run F