Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 6, 2004, 11:26 am
rate this thread
Using ActiveState Perl 5.8.4 build 810 on Windows 2000 SP4, I ran
the script. (I first had to remove the T option from the first
line of the checklink script to get it to run in this
environment, otherwise it reports 'Too late for "-T" option at
checklink line 1.' Then I had to download some module (I forget
which one) via ppm before it would run.)
I am running it to check a local file, via:
perl checklink -v mydoc.html
Some links produce perl warnings. Here's a portion showing the
problem (command screen capture):
Checking link http://ecr_server/ecr2106_general_details
HEAD http://ecr_server/ecr2106_general_details Argument "25Content-Type:
ml" isn't numeric in numeric lt (<) at
Argument "25Content-Type: text/html" isn't numeric in subtraction (-) at
/site/lib/Net/HTTP/Methods.pm line 485.
fetched in 1.2s
Return code: 200
The script seems to work, it reported some problems that I have
now fixed, it now completes with no problems reported in the
checked document. There are no other perl warnings.
What might be causing these warnings?