File::Spec::Mac

File::Spec for MacOS.

canonpath

File::Spec->canonpath 

Nothing to do; returns what it's given.

catdir

File::Spec->catdir(dir[, dir...]) 

Concatenates two or more directory names to form a complete path. 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.

catfile

File::Spec->catfile(dir[, dir...], file) 

Concatenates one or more directory names and a filename to form a complete path that ends with a filename. Uses catdir.

curdir

File::Spec->curdir 

Returns string representing the current directory.

file_name_is_absolute

File::Spec->file_name_is_absolute(path) 

Takes a path as argument and returns true if it is an absolute path.

path

File::Spec->path 

Returns null list for MacPerl applications, or $ENV{Commands}, suitably split, for the MacPerl tool under MPW.

rootdir

File::Spec->rootdir 

Returns string representing the root directory. Under MacPerl, returns the name of the startup volume.

updir

File::Spec->updir 

Returns string representing the parent directory.