I am writing a Perl script that needs to initiate various http (or https) requests. Before doing so, I would like first to verify that a given string is indeed a valid URL address. I would like to do so (preferably) without using regexp.
Reason being, that URLs can be quite complex, and I'd prefer using a generic perl method (like a module). That way I am waaay more probable not to have missed any end-cases. Also, it would increase code-readability.
Thanks a bunch,