Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

File::Spec::Functions (3)

Name

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

Synopsis

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

Description

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



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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

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



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14          File::Spec::Functions(3)