|
|
| |
Path::Resource::Base(3) |
User Contributed Perl Documentation |
Path::Resource::Base(3) |
Path::Resource::Base - A resource base for a Path::Resource object
No need to use this class directly, see Path::Resource for more information.
- $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
Hey! The above document had some coding errors, which are explained
below:
- Around line 26:
- =over without closing =back
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |