diff options
Diffstat (limited to 'scripts/Dpkg/Compression')
-rw-r--r-- | scripts/Dpkg/Compression/FileHandle.pm | 6 | ||||
-rw-r--r-- | scripts/Dpkg/Compression/Process.pm | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/Dpkg/Compression/FileHandle.pm b/scripts/Dpkg/Compression/FileHandle.pm index 3f83545c3..2756a6694 100644 --- a/scripts/Dpkg/Compression/FileHandle.pm +++ b/scripts/Dpkg/Compression/FileHandle.pm @@ -109,7 +109,7 @@ may be exceptions though. =over 4 -=item my $fh = Dpkg::Compression::FileHandle->new(%opts) +=item $fh = Dpkg::Compression::FileHandle->new(%opts) Creates a new filehandle supporting on-the-fly compression/decompression. Supported options are "filename", "compression", "compression_level" (see @@ -325,7 +325,7 @@ sub set_filename { } } -=item my $file = $fh->get_filename() +=item $file = $fh->get_filename() Returns the filename that would be used when the filehandle must be opened (both in read and write mode). This function errors out @@ -374,7 +374,7 @@ sub use_compression { return $comp; } -=item my $real_fh = $fh->get_filehandle() +=item $real_fh = $fh->get_filehandle() Returns the real underlying filehandle. Useful if you want to pass it along in a derived object. diff --git a/scripts/Dpkg/Compression/Process.pm b/scripts/Dpkg/Compression/Process.pm index cc1fe4db2..ca4f1d4ab 100644 --- a/scripts/Dpkg/Compression/Process.pm +++ b/scripts/Dpkg/Compression/Process.pm @@ -42,7 +42,7 @@ compression/decompression processes. =over 4 -=item my $proc = Dpkg::Compression::Process->new(%opts) +=item $proc = Dpkg::Compression::Process->new(%opts) Create a new instance of the object. Supported options are "compression" and "compression_level" (see corresponding set_* functions). @@ -90,9 +90,9 @@ sub set_compression_level { $self->{compression_level} = $level; } -=item my @exec = $proc->get_compress_cmdline() +=item @exec = $proc->get_compress_cmdline() -=item my @exec = $proc->get_uncompress_cmdline() +=item @exec = $proc->get_uncompress_cmdline() Returns a list ready to be passed to C<exec>, its first element is the program name (either for compression or decompression) and the following |