in reply to [SOLVED]: Using glob in file test gives "Use of uninitialized value in -e" warning.

Thank you choroba and Laurent_R. I have made necessary changes to use unlink instead of rm.
I also got useful idea from information at unlink. Thank you for that suggestion.
  • Comment on Re: [SOLVED]: Using glob in file test gives "Use of uninitialized value in -e" warning.