Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: check *.tmp wether it's a zip or not

by tomhukins (Curate)
on Nov 26, 2004 at 11:04 UTC ( #410558=note: print w/replies, xml ) Need Help??


in reply to check *.tmp wether it's a zip or not

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410558]
help
Chatterbox?
[karlgoethebier]: Discipulus: Corion may be right... backslash?
[karlgoethebier]: Discipulus: i don't know. no msdog at hand no more
[Eily]: Discipulus I get the same thing on strawberry perl v5.20
[Eily]: hu, it came with 5.22 ...
Discipulus win32 is the vietnam of envs..
[Eily]: what's your perl version Discipulus ?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-07-21 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.