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::Extended::Class(3) User Contributed Perl Documentation Path::Extended::Class(3)

Path::Extended::Class

    use Path::Extended::Class;
    my $file = file('path/to/file.txt');
    my $dir  = dir('path/to/somewhere');

If you want some functionality of Path::Extended but also want more Path::Class-compatible API, try Path::Extended::Class, which is built upon Path::Extended and passes many of the Path::Class tests. What you may miss are foreign expressions, and "absolute"/"relative" chains (those of Path::Extended::Class return a string instead of an object).

Both of these two functions are exported by default. As of 0.12, additional "file_or_dir" and "dir_or_file" functions are exported as well. See Path::Extended for their details.

takes a file path and returns a Path::Extended::Class::File object. The file doesn't need to exist.

takes a directory path and returns a Path::Extended::Class::Dir object. The directory doesn't need to exist.

Kenichi Ishigaki, <ishigaki@cpan.org>

Copyright (C) 2009 by Kenichi Ishigaki.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2012-09-18 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.