|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I was wondering if it's possible to use perl (or any thing else the runs on UNIX for that matter) to zip and unzip files with the .zip format that is standard to Windows.
I don't really need the code or a solution yet. Just a YES or NO, and maybe the name of a module. Thanks! |
|
#2
|
|||
|
|||
|
Just use system commands:
system `zip blah blah` #or whatever Note the back ticks (`), not single quotes ('). |
|
#3
|
|||
|
|||
|
>>maybe the name of a module
It most likely doesn't come with your UNIX system by default. You probably want to fetch it from: ftp://ftp.info-zip.org/pub/infozip Or try Archive-Zip-0.09.tar.gz from http://www.perl.com/CPAN-local/modules/by-module/Archive note: you need to have zlib library installed on your system for this one. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > working with .zip files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|