in reply to Perl Program works on local machine, not over network?
A couple of suggestions to help you get more help from perl itself:
1.) Add use strict; and use warnings; at the start of your scripts. Of course, this will cause you to need to use my the first time that you use a variable.
2.) Modify you line of code where you open the file to print out a more useful error message by changing it to:
open(MYFILE, "$loc") or print "Didn't Open $loc: $!\n";
With more useful warning and error messages, it will be easier for you (and others) to debug the issue(s).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Program works on local machine, not over network?
by GrandFather (Saint) on Jan 31, 2012 at 19:23 UTC |