Query: archive::peek
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Archive::Peek(3pm) User Contributed Perl Documentation Archive::Peek(3pm)NAMEArchive::Peek - Peek into archives without extracting themSYNOPSISuse Archive::Peek; my $peek = Archive::Peek->new( filename => 'archive.tgz' ); my @files = $peek->files(); my $contents = $peek->file('README.txt')DESCRIPTIONThis 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.METHODSnew 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')AUTHORLeon Brocard <acme@astray.com>COPYRIGHTCopyright (C) 2008, Leon Brocard.LICENSEThis module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.12.4 2011-09-26 Archive::Peek(3pm)
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
Is UNIX an open source OS ? |
Find columns in a file based on header and print to new file |
Weird 'find' results |