Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: zipped and tar files.

by madbombX (Hermit)
on Oct 06, 2006 at 16:44 UTC ( [id://576709]=note: print w/replies, xml ) Need Help??


in reply to zipped and tar files.

I would recommend combining a few CPAN modules to get the desired result. Start out with File::Type to determine the file type.
my $ft = File::Type->new(); my $file_type = $ft->checktype_filename($file);
Or alternatively, you can check out Archive::TarGzip and mix that with the use of Archive::Zip based on the output of File::Type.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://576709]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found