Archive::Peek(3)
π NAME π
okay so bestie, welcome to Archive::Peek(3) β thatβs the manual name, folded in right here like a little name tag π
β from the User Contributed Perl Documentation. The vibe is Archive::Peek β Peek into archives without extracting them. β¨
β¨ SYNOPSIS β¨
use Archive::Peek;
my $peek = Archive::Peek->new( filename => 'archive.tgz' );
my @files = $peek->files();
my $contents = $peek->file('README.txt')
π¦ DESCRIPTION π¦
This module lets you peek into archives without extracting them. It currently supports tar files and zip files. To support Bzip2- compressed files, you should install IO::Uncompress::Bunzip2. π«Ά
πΈ METHODS πΈ
β¨ new β¨
The constructor takes the filename of the archive to peek into:
my $peek = Archive::Peek->new( filename => 'archive.tgz' );
β¨ files β¨
Returns the files in the archive:
my @files = $peek->files();
β¨ file β¨
Returns the contents of a file in the archive:
my $contents = $peek->file('README.txt')
π AUTHOR π
Leon Brocard <acme@astray.com> β thatβs the author, iconic.
π COPYRIGHT π
Copyright (C) 2008, Leon Brocard.
π LICENSE π
This module is free software; you can redistribute it or modify it under the same terms as Perl itself. periodt π
and thatβs the whole page, bestie π«Ά β the footer says perl v5.42.0, dated 2021-11-14, and itβs still all Archive::Peek(3). byeee π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Archive-Peek 0.37-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms