in reply to Re: system "gzip $full_name" is taking more time
in thread system "gzip $full_name" is taking more time

Zipping a file will generally take more time than deleting it, often much more time, especially if the file is large. But this has nothing to do with Perl, this will also be true if you doing it manually under your shell (or under Windows, for that matter).
  • Comment on Re^2: system "gzip $full_name" is taking more time