diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-12-09 12:34:56 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-12-09 12:34:56 +0000 |
commit | 4e5f9c64eb5e756eaef0af74ac8030a0d1d83b5d (patch) | |
tree | b9426e197a8b75c7640451433b9638568a19912a /packdrake.pm | |
parent | cc5e916cbda8b77062eb33e9f32aa713d4679de4 (diff) | |
download | rpmtools-4e5f9c64eb5e756eaef0af74ac8030a0d1d83b5d.tar rpmtools-4e5f9c64eb5e756eaef0af74ac8030a0d1d83b5d.tar.gz rpmtools-4e5f9c64eb5e756eaef0af74ac8030a0d1d83b5d.tar.bz2 rpmtools-4e5f9c64eb5e756eaef0af74ac8030a0d1d83b5d.tar.xz rpmtools-4e5f9c64eb5e756eaef0af74ac8030a0d1d83b5d.zip |
POD fixes.
Diffstat (limited to 'packdrake.pm')
-rw-r--r-- | packdrake.pm | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/packdrake.pm b/packdrake.pm index e463f3e..f6f63e1 100644 --- a/packdrake.pm +++ b/packdrake.pm @@ -20,11 +20,9 @@ package packdrake; use strict; use warnings; -use vars qw($VERSION); use Packdrakeng; our @ISA = qw(Packdrakeng); - -$VERSION = $Packdrakeng::VERSION; +our $VERSION = $Packdrakeng::VERSION; sub new { my ($class, $file, %options) = @_; @@ -67,7 +65,7 @@ sub build_archive { chomp($line); $pack->add($dir, $line) or return; } - 1 + 1; } sub cat_archive { @@ -88,7 +86,7 @@ __END__ packdrake - Simple Archive Extractor/Builder -This module is provide for compatibility with old packdrake. +This module is a compatibility wrapper around the new Packdrakeng module. =head1 SYNOPSIS @@ -112,10 +110,6 @@ This module is provide for compatibility with old packdrake. C<packdrake> is a very simple archive extractor and builder used by Mandrakesoft. -=head1 SEE ALSO - -Packdrakeng - =head1 FUNCTIONS =over @@ -125,7 +119,7 @@ Packdrakeng Open the packdrake archive $file and return a packdrake object. Return undef on failure. -=item B<packdrake->extract_archive($dir, @files)> +=item B<< packdrake->extract_archive($dir, @files) >> Extract files list into the specified directory. @@ -133,7 +127,7 @@ Extract files list into the specified directory. List files packed into achives given. -=item B<packdrake::build_archive($input, $dir, $archive, $blocksize, $compress, $uncompress)> +=item B<packdrake::build_archive($input,$dir,$archive,$blocksize,$compress,$uncompress)> Build a new archive: - $input is a file handle to find file list to pack @@ -150,6 +144,10 @@ specified =back +=head1 SEE ALSO + +L<Packdrakeng>. + =head1 COPYRIGHT Copyright (C) 2000-2004 Mandrakesoft <nanardon@mandrake.org> @@ -169,4 +167,3 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =cut - |