There's more than one way to do things | |
PerlMonks |
Re: testing for a zip fileby esh (Pilgrim) |
on Aug 29, 2003 at 14:30 UTC ( [id://287671]=note: print w/replies, xml ) | Need Help?? |
Check out File::Type
When you say "zipped" do you mean "compressed" or do you mean that a specific compression algorithm/tool was used (i.e., Windows PKZIP format)? File::Type can also tell you if the file is compressed in other ways, though you'll have to check the return value for each type. -- Eric Hammond
In Section
Seekers of Perl Wisdom
|
|