Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Archive::Zip Error

by bluesplay106 (Novice)
on Jun 13, 2013 at 17:53 UTC ( #1038810=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Archive::Zip Error
in thread Archive::Zip Error

I can't post my code due to my internship, so here is the general :

$zip = Archive::Zip->new(); eval {$zip->read($filename);}; if($@) { print "Couldn't unzip $filename\n";}


Comment on Re^4: Archive::Zip Error
Download Code
Re^5: Archive::Zip Error
by Anonymous Monk on Jun 14, 2013 at 07:24 UTC

    Archive::Zip's read method is documented to return an integer to signal an error, it won't die

    http://search.cpan.org/perldoc/Archive::Zip#read

    I can't post my code due to my internship

    Your actual code isn't required, just something that triggers the same error/problem, and something that doesn't require purchasing a special brand of soap, something self contained

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-09-01 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (13 votes), past polls