I am getting a very puzzling warning message from one of my CGI scripts and am not sure how to debug. The warning is:
[tt]
Cwd.pm: Ambiguous call resolved as CORE::chdir(), qualify as such or use & at /local/perl/lib/Cwd.pm line 306
[/tt]
I also get a repeat of the error for line 308 of Cwd.pm
The reason I find this puzzling is that the script that is generating this warning is neither using Cwd.pm nor is there an attempt to chdir anywhere in the script.
I assume that it may be coming from one of the other modules that the script is using (strict, CGI, Carp, lib, File (Basename and Copy) and Time (gmtime and local), but I can't think of any of those that might do a chdir (I checked Basename and Copy, not in there).
Does anyone know how to determine where in the initial script the warning is being generated from?
Derek
[tt]
Cwd.pm: Ambiguous call resolved as CORE::chdir(), qualify as such or use & at /local/perl/lib/Cwd.pm line 306
[/tt]
I also get a repeat of the error for line 308 of Cwd.pm
The reason I find this puzzling is that the script that is generating this warning is neither using Cwd.pm nor is there an attempt to chdir anywhere in the script.
I assume that it may be coming from one of the other modules that the script is using (strict, CGI, Carp, lib, File (Basename and Copy) and Time (gmtime and local), but I can't think of any of those that might do a chdir (I checked Basename and Copy, not in there).
Does anyone know how to determine where in the initial script the warning is being generated from?
Derek