Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Password Protected Zip files and Archive::ZIP

by eclark (Scribe)
on Dec 17, 2003 at 23:45 UTC ( [id://315417]=note: print w/replies, xml ) Need Help??


in reply to Re: Password Protected Zip files and Archive::ZIP
in thread Password Protected Zip files and Archive::ZIP

Because of this limitation, I am using Info-ZIP's unzip in a system call. It is not very elegant but it works.

system("unzip -L -P $password -n $zipfile -d $outputdir"); my $retcode = ($? >> 8); if ($retcode) { ## abnormal failure die "unzip returned abnormal exit code $retcode"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found