NAME
Path::Resource::Base - A resource base for a Path::Resource object
DESCRIPTION
No need to use this class directly, see Path::Resource for more information.
METHODS
- $base = Path::Resource::Base->new( dir => $dir, uri => $uri, [ loc => $loc ] )
-
Create a new Path::Resource::Base object with the given $dir, $uri, and (optional) $loc
- $new_base = $base->clone
-
Return a new Path::Resource::Base object that is a clone of $base
- $base->uri
- $base->uri( $uri )
-
Return the original $uri, optionally changing it by passing in a new $uri
$uri is a URI object, but if you pass in a valid URI string it will Do The Right Thing(tm) and convert it
- $base->loc
- $base->loc( $loc )
-
Return the calculated $loc, optionally changing it by passing in a new $loc
$loc is a Path::Abstract object, but if you pass in a valid Path::Abstract string it will Do The Right Thing(tm) and convert it
- $base->dir
- $base->dir( $dir )
-
Return the original $dir, optionally changing it by passing in a new $dir
$dir is a Path::Class::Dir object, but if you pass in a valid Path::Class::Dir string it will Do The Right Thing(tm) and convert it
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 26:
=over without closing =back