|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: -s testing for empty file; works on local, but not on remoteby onelesd (Pilgrim) |
| on Sep 26, 2011 at 21:04 UTC ( #927949=note: print w/ replies, xml ) | Need Help?? |
|
If it works locally, but not remotely, and you are sure the files and directories are indeed there, then it's most likely a permissions issue - ie. the remote user does not have the correct permissions to read that file or directory. This is simple to test; as the user you are running the script, run from a terminal:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||