vms.html

来自「perl教程」· HTML 代码 · 共 185 行

HTML
185 行
字号
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../../../displayToc.js"></script>
<script language="JavaScript" src="../../../tocParas.js"></script>
<script language="JavaScript" src="../../../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../../../scineplex.css">
<title>File::Spec::VMS - methods for VMS file specs</title>
<link rel="stylesheet" href="../../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>

<script>writelinks('__top__',3);</script>
<h1><a>File::Spec::VMS - methods for VMS file specs</a></h1>
<p><a name="__index__"></a></p>

<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#copyright">COPYRIGHT</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>File::Spec::VMS - methods for VMS file specs</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
 <span class="keyword">require</span> <span class="variable">File::Spec::VMS</span><span class="operator">;</span> <span class="comment"># Done internally by File::Spec if needed</span>
</pre>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>See File::Spec::Unix for a documentation of the methods provided
there. This package overrides the implementation of these methods, not
the semantics.</p>
<dl>
<dt><strong><a name="item_canonpath">canonpath (override)</a></strong>

<dd>
<p>Removes redundant portions of file specifications according to VMS syntax.</p>
</dd>
</li>
<dt><strong><a name="item_catdir">catdir (override)</a></strong>

<dd>
<p>Concatenates a list of file specifications, and returns the result as a
VMS-syntax directory specification.  No check is made for &quot;impossible&quot;
cases (e.g. elements other than the first being absolute filespecs).</p>
</dd>
</li>
<dt><strong><a name="item_catfile">catfile (override)</a></strong>

<dd>
<p>Concatenates a list of file specifications, and returns the result as a
VMS-syntax file specification.</p>
</dd>
</li>
<dt><strong><a name="item_curdir">curdir (override)</a></strong>

<dd>
<p>Returns a string representation of the current directory: '[]'</p>
</dd>
</li>
<dt><strong><a name="item_devnull">devnull (override)</a></strong>

<dd>
<p>Returns a string representation of the null device: '_NLA0:'</p>
</dd>
</li>
<dt><strong><a name="item_rootdir">rootdir (override)</a></strong>

<dd>
<p>Returns a string representation of the root directory: 'SYS$DISK:[000000]'</p>
</dd>
</li>
<dt><strong><a name="item_tmpdir">tmpdir (override)</a></strong>

<dd>
<p>Returns a string representation of the first writable directory
from the following list or '' if none are writable:</p>
</dd>
<dd>
<pre>
    <span class="variable">sys</span><span class="variable">$scratch</span><span class="operator">:</span>
    <span class="variable">$ENV</span><span class="operator">{</span><span class="string">TMPDIR</span><span class="operator">}</span>
</pre>
</dd>
<dd>
<p>Since perl 5.8.0, if running under taint mode, and if $ENV{TMPDIR}
is tainted, it is not used.</p>
</dd>
</li>
<dt><strong><a name="item_updir">updir (override)</a></strong>

<dd>
<p>Returns a string representation of the parent directory: '[-]'</p>
</dd>
</li>
<dt><strong><a name="item_case_tolerant">case_tolerant (override)</a></strong>

<dd>
<p>VMS file specification syntax is case-tolerant.</p>
</dd>
</li>
<dt><strong><a name="item_path">path (override)</a></strong>

<dd>
<p>Translate logical name DCL$PATH as a searchlist, rather than trying
to <a href="../../../lib/Pod/perlfunc.html#item_split"><code>split</code></a> string value of <code>$ENV{'PATH'}</code>.</p>
</dd>
</li>
<dt><strong><a name="item_file_name_is_absolute">file_name_is_absolute (override)</a></strong>

<dd>
<p>Checks for VMS directory spec as well as Unix separators.</p>
</dd>
</li>
<dt><strong><a name="item_splitpath">splitpath (override)</a></strong>

<dd>
<p>Splits using VMS syntax.</p>
</dd>
</li>
<dt><strong><a name="item_splitdir">splitdir (override)</a></strong>

<dd>
<p>Split dirspec using VMS syntax.</p>
</dd>
</li>
<dt><strong><a name="item_catpath">catpath (override)</a></strong>

<dd>
<p>Construct a complete filespec using VMS syntax</p>
</dd>
</li>
<dt><strong><a name="item_abs2rel">abs2rel (override)</a></strong>

<dd>
<p>Use VMS syntax when converting filespecs.</p>
</dd>
</li>
<dt><strong><a name="item_rel2abs">rel2abs (override)</a></strong>

<dd>
<p>Use VMS syntax when converting filespecs.</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="copyright">COPYRIGHT</a></h1>
<p>Copyright (c) 2004 by the Perl 5 Porters.  All rights reserved.</p>
<p>This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.</p>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p>See <a href="../../../lib/File/Spec.html">the File::Spec manpage</a> and <a href="../../../lib/File/Spec/Unix.html">the File::Spec::Unix manpage</a>.  This package overrides the
implementation of these methods, not the semantics.</p>
<p>An explanation of VMS file specs can be found at
<a href="#http___h71000_www7_hp_com_doc_731final_4506_4506pro_014_html_apps_locating_naming_files"><a href="http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_014.html#apps_locating_naming_files">http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_014.html#apps_locating_naming_files</a></a>.</p>

</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?