XP is just a number | |
PerlMonks |
Re: Checking "incomplete" URLsby erikharrison (Deacon) |
on Feb 20, 2002 at 05:03 UTC ( [id://146499]=note: print w/replies, xml ) | Need Help?? |
When you request a directory on a webserver the server gets to decide what to send you - usually index.html but not necesarily. This is straight ought of lwpcook.pod: "If you just want to check if a document is present (i.e. the URL is valid) try to run code that looks like this:
. . ." . . . which is the "canonical" way to make sure a url is valid. Cheers,Erik
In Section
Seekers of Perl Wisdom
|
|