| Previous | Next
ExtUtils::PacklistManages packlist files. Supports an extended packlist format. The original format is a list of absolute pathnames, one pathname per line. In the extended format, each line can also contain a list of attributes as key/value pairs, which are used by the installperl script. For example: /usr/local/bin/perl from=/usr/local/pbeta/bin/perl5.005 type=link /usr/local/bin/perl5.005 type=file /usr/local/lib/perl5/5.005/AnyDBM_File.pm type=file Also see ExtUtils::Installed.
$pl = ExtUtils::Packlist->new([plfile]) Constructor. Takes the name of a packlist as the optional parameter and returns a reference to a hash that has an entry for each line in the packlist. The value associated with each key is
$pl->packlist_file( ) Returns the name of the associated packlist file.
$pl->read([plfile]) Reads the packlist specified by the
$pl->validate([arg]) Checks that each file in the packlist exists. An optional argument can be specified; if the argument is present and evaluates to true, missing files are removed from the internal hash. Returns a list of missing files, or an empty list if the files all exist.
$pl->write([plfile]) Writes to a packlist. Optionally takes the name of the packlist to be written; otherwise, overwrites the packlist associated with |