You may want to re-read the documentation for File::Find's wanted function. You're using the $_ variable, which doesn't contain the full path name to the file(s) of interest (unless you've set the no_chdir option). So at the very least, you need to set the no_chdir flag or your subroutines would need to change.
Other things I can think of to check:
Is the script running under your user account, or some other account? If it's another account, perhaps that account doesn't have access to the share(s) on the other boxes.
To test your question about whether the script understands a remote path: Check it without the rest of your program, so you can clearly determine whether or not it understands the remote path, something like:
perl -e 'print "exists" if -e "//hostname/share-test"'
...roboticus
In reply to Re^5: Remove Script for a Infrastructure file managenet system running embedded perl
by roboticus
in thread Remove Script for a Infrastructure file managenet system running embedded perl
by sanju7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |