[EMAIL PROTECTED] wrote: > > I was hoping someone would have an idea of how to cat zipped files.. gzcat > is NOT available to me, however, cat and zcat are.. But is there a module or > sample perl script to cat zipped files?
Hi Steve. Archive::Zip is what you need. use strict; use warnings; use Archive::Zip; my $zip = Archive::Zip->new('archive.zip') To list the files in the archive: print "$_\n" foreach $zip->memberNames to cat a given member: print $zip->contents('member.txt') Clearly a combination of the two will let you cat all members of the archive. Read the module's POD if you need any more. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]