use Archive::Extract; ### build an Archive::Extract object ### my $ae = Archive::Extract->new( archive => 'foo.tgz' ); ### extract to /tmp directory ### my $ok = $ae->extract( to => '/tmp' ) or die $ae->error; ### get files from the archive ### my $files = $ae->files;
If you're doing more than just extraction then look at Archive::Zip
In reply to Re^2: Unzipping a file perl
by gideondsouza
in thread Unzipping a file perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |