SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from CentOS 6 local-perl-PathTools-3.36-162.2.x86_64.rpm

File::Spec::VMS

Section: Perl Programmers Reference Guide (3pm)
Updated: 2011-06-20
Index 

NAME

File::Spec::VMS - methods for VMS file specs 

SYNOPSIS

 require File::Spec::VMS; # Done internally by File::Spec if needed
 

DESCRIPTION

See File::Spec::Unix for a documentation of the methods providedthere. This package overrides the implementation of these methods, notthe semantics.

The default behavior is to allow either VMS or Unix syntax on input and to return VMS syntax on output, even when Unix syntax was given on input.

When used with a Perl of version 5.10 or greater and a CRTL possessing therelevant capabilities, override behavior depends on the CRTL features"DECC$FILENAME_UNIX_REPORT" and "DECC$EFS_CHARSET". When the"DECC$EFS_CHARSET" feature is enabled and the input parameters are clearlyin Unix syntax, the output will be in Unix syntax. If"DECC$FILENAME_UNIX_REPORT" is enabled and the output syntax cannot bedetermined from the input syntax, the output will be in Unix syntax.

canonpath (override)
Removes redundant portions of file specifications according to the syntaxdetected.
catdir (override)
Concatenates a list of file specifications, and returns the result as adirectory specification. No check is made for ``impossible''cases (e.g. elements other than the first being absolute filespecs).
catfile (override)
Concatenates a list of directory specifications with a filename specificationto build a path.
curdir (override)
Returns a string representation of the current directory: '[]' or '.'
devnull (override)
Returns a string representation of the null device: '_NLA0:' or '/dev/null'
rootdir (override)
Returns a string representation of the root directory: 'SYS$DISK:[000000]'or '/'
tmpdir (override)
Returns a string representation of the first writable directoryfrom the following list or '' if none are writable:

    /tmp if C<DECC$FILENAME_UNIX_REPORT> is enabled.    sys$scratch:    $ENV{TMPDIR}

Since perl 5.8.0, if running under taint mode, and if $ENV{TMPDIR}is tainted, it is not used.

updir (override)
Returns a string representation of the parent directory: '[-]' or '..'
case_tolerant (override)
VMS file specification syntax is case-tolerant.
path (override)
Translate logical name DCL$PATH as a searchlist, rather than tryingto "split" string value of $ENV{'PATH'}.
file_name_is_absolute (override)
Checks for VMS directory spec as well as Unix separators.
splitpath (override)
    ($volume,$directories,$file) = File::Spec->splitpath( $path );    ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file );

Passing a true value for $no_file indicates that the path beingsplit only contains directory components, even on systems where youcan usually (when not supporting a foreign syntax) tell the differencebetween directories and files at a glance.

splitdir (override)
Split a directory specification into the components.
catpath (override)
Construct a complete filespec.
abs2rel (override)
Attempt to convert a file specification to a relative specification.On a system with volumes, like VMS, this may not be possible.
rel2abs (override)
Return an absolute file specification from a relative one.
 

COPYRIGHT

Copyright (c) 2004 by the Perl 5 Porters. All rights reserved.

This program is free software; you can redistribute it and/or modifyit under the same terms as Perl itself. 

SEE ALSO

See File::Spec and File::Spec::Unix. This package overrides theimplementation of these methods, not the semantics.

An explanation of VMS file specs can be found at<http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_014.html#apps_locating_naming_files>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
COPYRIGHT
SEE ALSO

This document was created byman2html,using the manual pages.