ExtUtils::Manifest 1.51
Sponsored Links
ExtUtils::Manifest 1.51 Ranking & Summary
File size:
0.017 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
909
Date added:
2007-05-01
Publisher:
Andreas Koenig
ExtUtils::Manifest 1.51 description
ExtUtils::Manifest is a Perl module that contains utilities to write and check a MANIFEST file.
SYNOPSIS
use ExtUtils::Manifest qw(...funcs to import...);
mkmanifest();
my @missing_files = manicheck;
my @skipped = skipcheck;
my @extra_files = filecheck;
my($missing, $extra) = fullcheck;
my $found = manifind();
my $manifest = maniread();
manicopy($read,$target);
maniadd({$file => $comment, ...});
Functions
ExtUtils::Manifest exports no functions by default. The following are exported on request
mkmanifest
mkmanifest();
Writes all files in and below the current directory to your MANIFEST. It works similar to
find . > MANIFEST
All files that match any regular expression in a file MANIFEST.SKIP (if it exists) are ignored.
Any existing MANIFEST file will be saved as MANIFEST.bak. Lines from the old MANIFEST file is preserved, including any comments that are found in the existing MANIFEST file in the new one.
manifind
my $found = manifind();
returns a hash reference. The keys of the hash are the files found below the current directory.
manicheck
my @missing_files = manicheck();
checks if all the files within a MANIFEST in the current directory really do exist. If MANIFEST and the tree below the current directory are in sync it silently returns an empty list. Otherwise it returns a list of files which are listed in the MANIFEST but missing from the directory, and by default also outputs these names to STDERR.
filecheck
my @extra_files = filecheck();
finds files below the current directory that are not mentioned in the MANIFEST file. An optional file MANIFEST.SKIP will be consulted. Any file matching a regular expression in such a file will not be reported as missing in the MANIFEST file. The list of any extraneous files found is returned, and by default also reported to STDERR.
fullcheck
my($missing, $extra) = fullcheck();
does both a manicheck() and a filecheck(), returning then as two array refs.
skipcheck
my @skipped = skipcheck();
lists all the files that are skipped due to your MANIFEST.SKIP file.
maniread
my $manifest = maniread();
my $manifest = maniread($manifest_file);
reads a named MANIFEST file (defaults to MANIFEST in the current directory) and returns a HASH reference with files being the keys and comments being the values of the HASH. Blank lines and lines which start with # in the MANIFEST file are discarded.
manicopy
manicopy(%src, $dest_dir);
manicopy(%src, $dest_dir, $how);
Copies the files that are the keys in %src to the $dest_dir. %src is typically returned by the maniread() function.
manicopy( maniread(), $dest_dir );
This function is useful for producing a directory tree identical to the intended distribution tree.
$how can be used to specify a different methods of "copying". Valid values are cp, which actually copies the files, ln which creates hard links, and best which mostly links the files but copies any symbolic link to make a tree without any symbolic link. cp is the default.
maniadd
maniadd({ $file => $comment, ...});
Adds an entry to an existing MANIFEST unless its already there.
$file will be normalized (ie. Unixified). UNIMPLEMENTED
SYNOPSIS
use ExtUtils::Manifest qw(...funcs to import...);
mkmanifest();
my @missing_files = manicheck;
my @skipped = skipcheck;
my @extra_files = filecheck;
my($missing, $extra) = fullcheck;
my $found = manifind();
my $manifest = maniread();
manicopy($read,$target);
maniadd({$file => $comment, ...});
Functions
ExtUtils::Manifest exports no functions by default. The following are exported on request
mkmanifest
mkmanifest();
Writes all files in and below the current directory to your MANIFEST. It works similar to
find . > MANIFEST
All files that match any regular expression in a file MANIFEST.SKIP (if it exists) are ignored.
Any existing MANIFEST file will be saved as MANIFEST.bak. Lines from the old MANIFEST file is preserved, including any comments that are found in the existing MANIFEST file in the new one.
manifind
my $found = manifind();
returns a hash reference. The keys of the hash are the files found below the current directory.
manicheck
my @missing_files = manicheck();
checks if all the files within a MANIFEST in the current directory really do exist. If MANIFEST and the tree below the current directory are in sync it silently returns an empty list. Otherwise it returns a list of files which are listed in the MANIFEST but missing from the directory, and by default also outputs these names to STDERR.
filecheck
my @extra_files = filecheck();
finds files below the current directory that are not mentioned in the MANIFEST file. An optional file MANIFEST.SKIP will be consulted. Any file matching a regular expression in such a file will not be reported as missing in the MANIFEST file. The list of any extraneous files found is returned, and by default also reported to STDERR.
fullcheck
my($missing, $extra) = fullcheck();
does both a manicheck() and a filecheck(), returning then as two array refs.
skipcheck
my @skipped = skipcheck();
lists all the files that are skipped due to your MANIFEST.SKIP file.
maniread
my $manifest = maniread();
my $manifest = maniread($manifest_file);
reads a named MANIFEST file (defaults to MANIFEST in the current directory) and returns a HASH reference with files being the keys and comments being the values of the HASH. Blank lines and lines which start with # in the MANIFEST file are discarded.
manicopy
manicopy(%src, $dest_dir);
manicopy(%src, $dest_dir, $how);
Copies the files that are the keys in %src to the $dest_dir. %src is typically returned by the maniread() function.
manicopy( maniread(), $dest_dir );
This function is useful for producing a directory tree identical to the intended distribution tree.
$how can be used to specify a different methods of "copying". Valid values are cp, which actually copies the files, ln which creates hard links, and best which mostly links the files but copies any symbolic link to make a tree without any symbolic link. cp is the default.
maniadd
maniadd({ $file => $comment, ...});
Adds an entry to an existing MANIFEST unless its already there.
$file will be normalized (ie. Unixified). UNIMPLEMENTED
ExtUtils::Manifest 1.51 Screenshot
ExtUtils::Manifest 1.51 Keywords
MANIFEST
ExtUtils
Manifest 1.51
MANIFEST.SKIP
Manifest file
Current directory
to write
Perl module
file
files
directory
missing
current
found
ExtUtils::Manifest
ExtUtilsManifest
Bookmark ExtUtils::Manifest 1.51
ExtUtils::Manifest 1.51 Copyright
WareSeeker periodically updates pricing and software information of ExtUtils::Manifest 1.51 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of ExtUtils::Manifest 1.51 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Test::Manifest is a Perl module created to interact with a t/test_manifest file. Free Download
ExtUtils::SVDmaker is a Perl module to create CPAN distributions. Free Download
ExtUtils::Embed is a Perl module with utilities for embedding Perl in C/C++ applications. Free Download
ExtUtils::MM_Any is a Perl module with Platform-agnostic MM methods. Free Download
ExtUtils::MakeMaker is a Perl module that can help you create a module Makefile. Free Download
ExtUtils::ModuleMaker::TT is a Perl module that makes skeleton modules with Template Toolkit templates. Free Download
ExtUtils::ModuleMaker::PBP is a Perl module to create a Perl extension in the style of Damian Conways Perl Best Practices. Free Download
Genre-sort is a script that parses ID3 tags for all MP3 files in a directory. Free Download
Latest Software
Popular Software
Favourite Software