8.106. File::Spec::Unix
File::Spec for Unix. Provides methods
for File::Spec to use in manipulating file specifications.
Does logical cleanup of path.
File::Spec->canonpath
Concatenates two or more directory names to form a complete path.
File::Spec->catdir(dir[, dir...])
Ends with a directory name.
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.
Returns ., 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)
Same as catfile.
File::Spec->join(dir[, dir...], file)
Strips names of files referring to a parent directory from a list of
File::Spec->no_upwards(files)
filenames. Doesn''t strip symbolic links.
Returns the PATH environment variable as an array.
File::Spec->path
Returns /, representing the root directory.
File::Spec->rootdir
Returns .., representing the parent directory.
File::Spec->updir