Think about Loose Coupling | |
PerlMonks |
Re: check *.tmp wether it's a zip or notby tomhukins (Curate) |
on Nov 26, 2004 at 11:04 UTC ( [id://410558]=note: print w/replies, xml ) | Need Help?? |
You could use something like File::Type to check whether the file looks like an application/zip file or not, before passing it to Archive::Zip.
In Section
Seekers of Perl Wisdom
|
|