thanks for the reply. you had suggested an option how to not preserve paths while unzipping from Perl script; but i would likt to do the opposite. I would like to NOT preserve the folder structure while zipping itself; so if i create zip files programatically and give it to someone, and when that guy unzips it using Winzip, he should not get the folder structure back. I tried looking at the CPAN doc page for Zip::Archive; but it did not show me any option.