Полезная информация

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


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 the File::Spec::Unix manpage, which contains the entire set, and which is inherited by the modules for other platforms. For further information, please see the File::Spec::Mac manpage, the File::Spec::OS2 manpage, the File::Spec::Win32 manpage, or the File::Spec::VMS manpage.

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

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


SEE ALSO

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

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