in reply to unzipping unix files on windows
Just to go completely the other direction, you could also ZIP (rather than compress) the test files on the Unix box. The lazy way would be to use the 'jar' utility (if java is installed).
$ jar cf result.zip file1.txt file2.txt ...
The perlish way would be to use a utility like the following to make the zip file ...
my $zipfile = shift @ARGV; use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); my $zip = Archive::Zip->new(); my $member = $zip->addFile( @ARGV ); die 'write error' unless $zip->writeToFileNamed( $zipfile ) == AZ_OK;
|
|---|