You might try
system("/usr/bin/gzip -f $file") or die "Can't zip $file\n";
It depends on what you're trying to do. If the files are going to a directory, you might tar that directory and then zip it. Or you you might want to do them individually. Try the Cookbook for more examples.
Good luck.