| Module Info
| Add a review of URI
I use this module everywhere. Gone are the painful days of manually constructing and deconstructing URLs
A wonderful module that should be used in all code that deals with URIs and *must* be used in code that deals with URIs as entered by users or extracted from a document. I've seen too many problems in too much code that could be avoided simply by doing:
$uri_str = URI->new($uri_str)->canonical->as_string().
This is very good for basic URL manipulation, especially to resolve weirdness between relative and absolute URLs.