in reply to Re^3: Windows folder access error (guessing)
in thread Windows folder access error

I apologize. I didn't mean to ignore you. I am not sure how to do the error test....
  • Comment on Re^4: Windows folder access error (guessing)

Replies are listed 'Best First'.
Re^5: Windows folder access error
by Lotus1 (Vicar) on Oct 25, 2014 at 00:07 UTC

    Add the special variable $^E into your die statement.

    opendir (DIR, $directory) or die "$!\n***********\n$^E\n";