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


Manual Reference Pages  -  FILE::HOMEDIR::PATHCLASS (3)

.ds Aq ’

NAME

File::HomeDir::PathClass - File::HomeDir returning Path::Class objects

CONTENTS

VERSION

version 1.112060

SYNOPSIS



    use File::HomeDir::PathClass -all;
    my $home = home();
    # $home is a Path::Class object now

    # - or -

    use File::HomeDir::PathClass;
    my $home = File::HomeDir::PathClass->home;
    # $home is a Path::Class object now



DESCRIPTION

This module is just a wrapper around File::HomeDir methods, transforming their return value to Path::Class objects. This allows for easier usage of the value.

Refer to File::HomeDir#METHODS for a list of which functions are supported.

File::HomeDir::PathClass supports both original File::HomeDir interfaces.

    Procedural mode

All functions are exportable. Nothing is exported by default, though. One has to list which function(s) she wants to import.

Some groups are defined for your convenience:
o all - all available functions.
Note that this module is exporting subs via Sub::Exporter, so groups are available either as :group or -group. One can also play any trick supported by Sub::Exporter, check its documentation for further information.

    Class method mode

Otherwise, functions are available as class methods, called as:



    File::HomeDir::PathClass->method();



In this case, one doesn’t need to import anything during module use-age.

SEE ALSO

Find other relevant information in File::HomeDir and Path::Class.

You can also look for information on this module at:
o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/File-HomeDir-PathClass>

o CPAN Ratings

<http://cpanratings.perl.org/d/File-HomeDir-PathClass>

o Open bugs

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-HomeDir-PathClass>

o Git repository

<http://github.com/jquelin/file-homedir-pathclass.git>.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Jerome Quelin.

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

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


perl v5.20.3 FILE::HOMEDIR::PATHCLASS (3) 2016-04-03

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