cygwin.html
来自「perl教程」· HTML 代码 · 共 99 行
HTML
99 行
<?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::Cygwin - methods for Cygwin 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::Cygwin - methods for Cygwin 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>
</ul>
<!-- INDEX END -->
<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>File::Spec::Cygwin - methods for Cygwin file specs</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
<span class="keyword">require</span> <span class="variable">File::Spec::Cygwin</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 <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>This module is still in beta. Cygwin-knowledgeable folks are invited
to offer patches and suggestions.</p>
<dl>
<dt><strong><a name="item_canonpath">canonpath</a></strong>
<dd>
<p>Any <code>\</code> (backslashes) are converted to <code>/</code> (forward slashes),
and then File::Spec::Unix <a href="#item_canonpath"><code>canonpath()</code></a> is called on the result.</p>
</dd>
</li>
<dt><strong><a name="item_file_name_is_absolute">file_name_is_absolute</a></strong>
<dd>
<p>True is returned if the file name begins with <code>drive_letter:</code>,
and if not, File::Spec::Unix <a href="#item_file_name_is_absolute"><code>file_name_is_absolute()</code></a> is called.</p>
</dd>
</li>
<dt><strong><a name="item_tmpdir">tmpdir (override)</a></strong>
<dd>
<p>Returns a string representation of the first existing directory
from the following list:</p>
</dd>
<dd>
<pre>
<span class="variable">$ENV</span><span class="operator">{</span><span class="string">TMPDIR</span><span class="operator">}</span>
<span class="operator">/</span><span class="variable">tmp</span>
<span class="variable">C</span><span class="operator">:</span><span class="regex">/temp
</span>
</pre>
</dd>
<dd>
<p>Since Perl 5.8.0, if running under taint mode, and if the environment
variables are tainted, they are not used.</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>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?