1File::Spec::VMS(3pm) Perl Programmers Reference Guide File::Spec::VMS(3pm)
2
3
4
6 File::Spec::VMS - methods for VMS file specs
7
9 require File::Spec::VMS; # Done internally by File::Spec if needed
10
12 See File::Spec::Unix for a documentation of the methods provided there.
13 This package overrides the implementation of these methods, not the
14 semantics.
15
16 canonpath (override)
17 Removes redundant portions of file specifications according to VMS
18 syntax.
19
20 catdir (override)
21 Concatenates a list of file specifications, and returns the result
22 as a VMS-syntax directory specification. No check is made for
23 "impossible" cases (e.g. elements other than the first being abso‐
24 lute filespecs).
25
26 catfile (override)
27 Concatenates a list of file specifications, and returns the result
28 as a VMS-syntax file specification.
29
30 curdir (override)
31 Returns a string representation of the current directory: '[]'
32
33 devnull (override)
34 Returns a string representation of the null device: '_NLA0:'
35
36 rootdir (override)
37 Returns a string representation of the root directory:
38 'SYS$DISK:[000000]'
39
40 tmpdir (override)
41 Returns a string representation of the first writable directory
42 from the following list or '' if none are writable:
43
44 sys$scratch:
45 $ENV{TMPDIR}
46
47 Since perl 5.8.0, if running under taint mode, and if $ENV{TMPDIR}
48 is tainted, it is not used.
49
50 updir (override)
51 Returns a string representation of the parent directory: '[-]'
52
53 case_tolerant (override)
54 VMS file specification syntax is case-tolerant.
55
56 path (override)
57 Translate logical name DCL$PATH as a searchlist, rather than trying
58 to "split" string value of $ENV{'PATH'}.
59
60 file_name_is_absolute (override)
61 Checks for VMS directory spec as well as Unix separators.
62
63 splitpath (override)
64 Splits using VMS syntax.
65
66 splitdir (override)
67 Split dirspec using VMS syntax.
68
69 catpath (override)
70 Construct a complete filespec using VMS syntax
71
72 abs2rel (override)
73 Use VMS syntax when converting filespecs.
74
75 rel2abs (override)
76 Use VMS syntax when converting filespecs.
77
79 Copyright (c) 2004 by the Perl 5 Porters. All rights reserved.
80
81 This program is free software; you can redistribute it and/or modify it
82 under the same terms as Perl itself.
83
85 See File::Spec and File::Spec::Unix. This package overrides the imple‐
86 mentation of these methods, not the semantics.
87
88 An explanation of VMS file specs can be found at
89 "http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_014.html#apps_locat‐
90 ing_naming_files".
91
92
93
94perl v5.8.8 2001-09-21 File::Spec::VMS(3pm)