Rich Bowen > File-Archive > File::Archive

Download:
File-Archive-0.53.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.53   Source  

NAME ^

File::Archive - Figure out what is in an archive file

SYNOPSIS ^

  use File::Archive;
  $arch = File::Archive->new($filename);
  $name = $arch->filename;
  $filelist = $arch->catalog;
  $contents = $arch->member($file);

DESCRIPTION ^

Given an archive file of some kind, these methods will determine what type of archive it is, and tell you what files are contained in that archive. It will also give you the contents of a particular file contained in that archive.

This was written for the Scripts section of CPAN, so that users could upload tarballs, rather than just single-file scripts

PREREQUISITES ^

  Compress::Zlib
  Archive::Tar

AUTHOR ^

Rich Bowen, <rbowen@rcbowen.com>

syntax highlighting: