in reply to Get a zip file with script

You are opening the FILE with read access. Try: open FILE, "> $zipfile" or die "Couldn't open file: $!" and don't forget to use warnings;

Update: strike out foolishness

Replies are listed 'Best First'.
Re: Re: Get a zip file with script
by graff (Chancellor) on Mar 22, 2004 at 02:01 UTC
    NO. You missed the part about FILE being the INPUT -- it's not the output. STDOUT is the output.

    Oh well, if Sliva makes the mistake of following your advice, it will be a learning experience...