Edit D:\app\Administrator\product\11.2.0\dbhome_1\perl\html\lib\File\Spec\Win32.html
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>File::Spec::Win32 - methods for Win32 file specs</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:" /> </head> <body style="background-color: white"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> File::Spec::Win32 - methods for Win32 file specs</span></strong></big> </td></tr> </table> <!-- INDEX BEGIN --> <div name="index"> <p><a name="__index__"></a></p> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <ul> <li><a href="#note_for_file__spec__win32_maintainers">Note For File::Spec::Win32 Maintainers</a></li> </ul> <li><a href="#copyright">COPYRIGHT</a></li> <li><a href="#see_also">SEE ALSO</a></li> </ul> <hr name="index" /> </div> <!-- INDEX END --> <p> </p> <h1><a name="name">NAME</a></h1> <p>File::Spec::Win32 - methods for Win32 file specs</p> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <pre> require File::Spec::Win32; # Done internally by File::Spec if needed</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="devnull" class="item">devnull</a></strong> <dd> <p>Returns a string representation of the null device.</p> </dd> </li> <dt><strong><a name="tmpdir" class="item">tmpdir</a></strong> <dd> <p>Returns a string representation of the first existing directory from the following list:</p> </dd> <dd> <pre> $ENV{TMPDIR} $ENV{TEMP} $ENV{TMP} SYS:/temp C:\system\temp C:/temp /tmp /</pre> </dd> <dd> <p>The SYS:/temp is preferred in Novell NetWare and the C:\system\temp for Symbian (the File::Spec::Win32 is used also for those platforms).</p> </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> <dt><strong><a name="case_tolerant" class="item">case_tolerant</a></strong> <dd> <p>MSWin32 case-tolerance depends on <code>GetVolumeInformation()</code> $ouFsFlags == FS_CASE_SENSITIVE, indicating the case significance when comparing file specifications. Since XP FS_CASE_SENSITIVE is effectively disabled for the NT subsubsystem. See <a href="http://cygwin.com/ml/cygwin/2007-07/msg00891.html">http://cygwin.com/ml/cygwin/2007-07/msg00891.html</a> Default: 1</p> </dd> </li> <dt><strong><a name="file_name_is_absolute" class="item">file_name_is_absolute</a></strong> <dd> <p>As of right now, this returns 2 if the path is absolute with a volume, 1 if it's absolute with no volume, 0 otherwise.</p> </dd> </li> <dt><strong><a name="catfile" class="item">catfile</a></strong> <dd> <p>Concatenate one or more directory names and a filename to form a complete path ending with a filename</p> </dd> </li> <dt><strong><a name="canonpath" class="item">canonpath</a></strong> <dd> <p>No physical check on the filesystem, but a logical cleanup of a path. On UNIX eliminated successive slashes and successive "/.". On Win32 makes</p> </dd> <dd> <pre> dir1\dir2\dir3\..\..\dir4 -> \dir\dir4 and even dir1\dir2\dir3\...\dir4 -> \dir\dir4</pre> </dd> </li> <dt><strong><a name="splitpath" class="item">splitpath</a></strong> <dd> <pre> ($volume,$directories,$file) = File::Spec->splitpath( $path ); ($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file );</pre> </dd> <dd> <p>Splits a path into volume, directory, and filename portions. Assumes that the last file is a path unless the path ends in '\\', '\\.', '\\..' or $no_file is true. On Win32 this means that $no_file true makes this return ( $volume, $path, '' ).</p> </dd> <dd> <p>Separators accepted are \ and /.</p> </dd> <dd> <p>Volumes can be drive letters or UNC sharenames (\\server\share).</p> </dd> <dd> <p>The results can be passed to <a href="#catpath">catpath</a> to get back a path equivalent to (usually identical to) the original path.</p> </dd> <dt><strong><a name="splitdir" class="item">splitdir</a></strong> <dd> <p>The opposite of <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/lib/File/Spec.html#catdir__">catdir()</a>.</p> </dd> <dd> <pre> @dirs = File::Spec->splitdir( $directories );</pre> </dd> <dd> <p>$directories must be only the directory portion of the path on systems that have the concept of a volume or that have path syntax that differentiates files from directories.</p> </dd> <dd> <p>Unlike just splitting the directories on the separator, leading empty and trailing directory entries can be returned, because these are significant on some OSs. So,</p> </dd> <dd> <pre> File::Spec->splitdir( "/a/b/c" );</pre> </dd> <dd> <p>Yields:</p> </dd> <dd> <pre> ( '', 'a', 'b', '', 'c', '' )</pre> </dd> </li> <dt><strong><a name="catpath" class="item">catpath</a></strong> <dd> <p>Takes volume, directory and file portions and returns an entire path. Under Unix, $volume is ignored, and this is just like <a href="#catfile"><code>catfile()</code></a>. On other OSs, the $volume become significant.</p> </dd> </li> </dl> <p> </p> <h2><a name="note_for_file__spec__win32_maintainers">Note For File::Spec::Win32 Maintainers</a></h2> <p>Novell NetWare inherits its File::Spec behaviour from File::Spec::Win32.</p> <p> </p> <hr /> <h1><a name="copyright">COPYRIGHT</a></h1> <p>Copyright (c) 2004,2007 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="file://C|\ADE\aime_smenon_perl_090715\perl\html/lib/File/Spec.html">the File::Spec manpage</a> and <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/lib/File/Spec/Unix.html">the File::Spec::Unix manpage</a>. This package overrides the implementation of these methods, not the semantics.</p> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> File::Spec::Win32 - methods for Win32 file specs</span></strong></big> </td></tr> </table> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de