Perl-Sensitive Sunglasses | |
PerlMonks |
Re: cant open files from a directoryby parv (Parson) |
on Jan 31, 2014 at 06:39 UTC ( [id://1072795]=note: print w/replies, xml ) | Need Help?? |
Include the reason of error by use of $! variable ...
Mind that readdir gives a file name below the directory being read from (relative path). You may need to supply the parent directory as appropriate to form correct path of file to be (found &) opened.
In Section
Seekers of Perl Wisdom
|
|