Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Checking "incomplete" URLsby nop (Hermit) |
on Feb 18, 2002 at 22:37 UTC ( [id://146275]=perlquestion: print w/replies, xml ) | Need Help?? |
nop has asked for the wisdom of the Perl Monks concerning the following question:
I have a simple program to check the validity of links before submitting them to search engines (code below.) This code declares that "incomplete" URLS, like http://www.mysite.com/mydir are no good -- when, in fact, they work just fine in a browser (and when submited to search engines). The "problem" with these URLs is that the full path all the way down to file isn't explicitly specified, I think. My question is how do I get LWP useragent to act like a browser and find the default page in a directory? thanks nop
Back to
Seekers of Perl Wisdom
|
|