Add the special variable $^E into your die statement.
opendir (DIR, $directory) or die "$!\n***********\n$^E\n";In reply to Re^5: Windows folder access error
by Lotus1
in thread Windows folder access error
by ArifS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |