8.104. File::Spec::Mac
File::Spec for MacOS.
Nothing to do; returns what it''s given.
File::Spec->canonpath
Concatenates two or more directory names to form a complete path.
File::Spec->catdir(dir[, dir...])
Ends with a directory name and appends a trailing : if there
isn''t one. You can get a relative path by either
beginning the first argument with : or putting
" as the first argument.
Concatenates one or more directory names and a filename to form a
File::Spec->catfile(dir[, dir...], file)
complete path that ends with a filename. Uses
catdir.
Returns string representing the current directory.
File::Spec->curdir
Takes a path as argument and returns true if it is an absolute path.
File::Spec->file_name_is_absolute(path)
Returns null list for MacPerl applications, or
File::Spec->path
$ENV{Commands}, suitably split, for the MacPerl
tool under MPW.
Returns string representing the root directory. Under MacPerl,
File::Spec->rootdir
returns the name of the startup volume.
Returns string representing the parent directory.
File::Spec->updir