URI::WithBase - URIs which remember their base |
URI::WithBase - URIs which remember their base
$u1 = URI::WithBase->new($str, $base); $u2 = $u1->abs;
$base = $u1->base; $u1->base( $new_base )
This module provides the URI::WithBase
class. Objects of this class
are like URI
objects, but can keep their base too. The base
represents the context where this URI was found and can be used to
absolutize or relativize the URI. All the methods described in the URI manpage
are supported for URI::WithBase
objects.
The methods provided in addition to or modified from those of URI
are:
undef
.
Copyright 1998-2002 Gisle Aas.
URI::WithBase - URIs which remember their base |