URI::URL only parses the string and holds it as an object in multiple parts that you can change and get the new compiled string at any time. It does not do actual checking and retrieval of the uri. You want HTTP::Request for actual checking I believe.

On Fri, 09 Jan 2004 19:16:37 +0000, <[EMAIL PROTECTED]> wrote:

Hi all,

I have been looking at the URI::URL Uniform Resource Locators documentation
provided with Perl. It looks easy enough to use URI to change the URL but the
document does not mention what happens if the targeted URL does not exist.

Does anyone knows what happens if the URL does not exist? In my script, I
want to prevent the browser from going to the 404 page? Can I or the URI call
with the die statement?

Thank you,

Matthew Greenberg
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs




_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to