ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



File::Spec::Functions(3pm)            Perl Programmers Reference Guide            File::Spec::Functions(3pm)



NAME
       File::Spec::Functions - portably perform operations on file names

SYNOPSIS
               use File::Spec::Functions;
               $x = catfile('a','b');

DESCRIPTION
       This module exports convenience functions for all of the class methods provided by File::Spec.

       For a reference of available functions, please consult File::Spec::Unix, which contains the entire
       set, and which is inherited by the modules for other platforms. For further information, please see
       File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, or File::Spec::VMS.

       Exports

       The following functions are exported by default.

               canonpath
               catdir
               catfile
               curdir
               rootdir
               updir
               no_upwards
               file_name_is_absolute
               path

       The following functions are exported only by request.

               devnull
               tmpdir
               splitpath
               splitdir
               catpath
               abs2rel
               rel2abs
               case_tolerant

       All the functions may be imported using the ":ALL" tag.

COPYRIGHT
       Copyright (c) 2004 by the Perl 5 Porters.  All rights reserved.

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

SEE ALSO
       File::Spec, File::Spec::Unix, File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, File::Spec::VMS,
       ExtUtils::MakeMaker



perl v5.8.8                                      2001-09-21                       File::Spec::Functions(3pm)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.