in reply to Is there a limit of files I can decompress and then open in a script, if I close each one before openning other?

In addition to the above, when reporting an error from functions like open it is a good idea to include $! in your error message. This will give you the operating system error message and a better idea of what the problem is.
  • Comment on Re: Is there a limit of files I can decompress and then open in a script, if I close each one before openning other?