Um, if it's really a WinZip self-extracting ZIP file, why not use system() to let it uncompress itself? For example:
#!/usr/bin/perl my $sfxfile = "samples.exe"; system( "$sfxfile" ) == 0 or die "Can't unzip $sfxfile";
This is pretty much the same code found in perlfunc:system and worked on my system (Win98) with an sfx created with WinZIP 7, SP1.
--fIn reply to Re: Uncompressing ZIP Files
by footpad
in thread Uncompressing ZIP Files
by EnderPax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |