File::Spec::VMS - methods for VMS file specs
require File::Spec::VMS; # Done internally by File::Spec if needed
See File::Spec::Unix for a documentation of the methods provided there. This package overrides the implementation of these methods, not the semantics.
The default behavior is to allow either VMS or Unix syntax on input and to return VMS syntax on output unless Unix syntax has been explicitly requested via the DECC$FILENAME_UNIX_REPORT
CRTL feature.
Removes redundant portions of file specifications and returns results in native syntax unless Unix filename reporting has been enabled.
Concatenates a list of file specifications, and returns the result as a native directory specification unless the Unix filename reporting feature has been enabled. No check is made for "impossible" cases (e.g. elements other than the first being absolute filespecs).
Concatenates a list of directory specifications with a filename specification to build a path.
Returns a string representation of the current directory: '[]' or '.'
Returns a string representation of the null device: '_NLA0:' or '/dev/null'
Returns a string representation of the root directory: 'SYS$DISK:[000000]' or '/'
Returns a string representation of the first writable directory from the following list or '' if none are writable:
/tmp if C<DECC$FILENAME_UNIX_REPORT> is enabled.
sys$scratch:
$ENV{TMPDIR}
If running under taint mode, and if $ENV{TMPDIR} is tainted, it is not used.
Returns a string representation of the parent directory: '[-]' or '..'
VMS file specification syntax is case-tolerant.