GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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
2009-02-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.