| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/t/ |
| Spec.t | 5 # Grab all of the plain routines from File::Spec 6 use File::Spec @File::Spec::EXPORT_OK ; 8 require File::Spec::Unix ; 9 require File::Spec::Win32 ; 19 # on VMS. It might be better to change File::Spec::VMS to do this, 23 sub File::Spec::VMS::vmsify { die "$skip_exception" } 24 sub File::Spec::VMS::unixify { die "$skip_exception" } 25 sub File::Spec::VMS::vmspath { die "$skip_exception" } 29 require File::Spec::VMS [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
| Spec.pm | 1 package File::Spec; 13 NetWare => 'Win32', # Yes, File::Spec::Win32 works on NetWare. 14 dos => 'OS2', # Yes, File::Spec::OS2 works on DJGPP. 20 require "File/Spec/$module.pm"; 21 @ISA = ("File::Spec::$module"); 29 File::Spec - portably perform operations on file names 33 use File::Spec; 35 $x=File::Spec->catfile('a', 'b', 'c'); 39 use File::Spec::Functions [all...] |
| CheckTree.pm | 1 package File::CheckTree; 6 use File::Spec; 20 use File::CheckTree; 30 /usr -d || warn "What happened to $file?\n" 36 directives, each containing a filename plus a file test to try on it. 37 (The file test may also be a "cd", causing subsequent relative filenames 38 to be interpreted relative to that directory.) After the file test 39 you may put C<|| die> to make it a fatal error if the file test fails. 40 The default is C<|| warn>. The file test may optionally have a "!' prepended 43 If you supply your own die() or warn() message, you can use $file t [all...] |
| Path.pm | 1 package File::Path; 5 File::Path - create or remove directory trees 9 use File::Path; 68 print a message each time it examines a file, giving the 69 name of the file, and indicating whether it's using C<rmdir> 102 On Windows, if C<mkpath> gives you the warning: B<No such file or 117 use File::Basename (); 129 # These OSes complain if you want to remove a file that you have no 154 my $parent = File::Basename::dirname($path); 256 or carp "Can't make file $root writeable: $! [all...] |
| Basename.pm | 1 package File::Basename; 13 use File::Basename; 20 ($name,$path,$suffix) = fileparse("lib/File/Basename.pm",qr{\.pm}); 22 $basename = basename("lib/File/Basename.pm",".pm"); 23 $dirname = dirname("lib/File/Basename.pm"); 27 These routines allow you to parse file specifications into useful 37 "VMS", "MSDOS", "MacOS", "AmigaOS" or "MSWin32", the file specification 41 case-insensitive. If you've selected VMS syntax, and the file 50 (though some of them preserve case on file creation). 57 The fileparse() routine divides a file specification into thre [all...] |
| Compare.pm | 1 package File::Compare; 136 File::Compare - Compare files or filehandles 140 use File::Compare; 148 The File::Compare::compare function compares the contents of two 149 sources, each of which can be a file or a file handle. It is exported 150 from File::Compare by default. 152 File::Compare::cmp is a synonym for File::Compare::compare. It is 153 exported from File::Compare only by request [all...] |
| stat.pm | 1 package File::stat; 28 struct 'File::stat' => [ 67 File::stat - by-name interface to Perl's built-in stat() functions 71 use File::stat; 72 $st = stat($file) or die "No $file: $!"; 74 print "$file is executable with lotsa links\n"; 77 use File::stat qw(:FIELDS); 78 stat($file) or die "No $file: $!" [all...] |
| Copy.pm | 0 # File/Copy.pm. Written in 1994 by Aaron Sherman <ajs@ajs.com>. This 8 package File::Copy; 14 use File::Spec; 23 # the File/Copy.pm module of the File-Tools-2.0 package. However, that 46 require File::Basename; 47 import File::Basename 'basename'; 55 return File::Spec->catfile($to, basename($from)); 197 # is on a remote NFS file system, and NFS lost the server's ack? 231 # preserve MPE file attributes [all...] |
| DosGlob.pm | 4 #Can't use string ("main::glob") as a symbol ref while "strict refs" in use at /usr/lib/perl5/5.005/File/DosGlob.pm line 191. 10 package File::DosGlob; 53 # If file component has no wildcards, we can avoid opendir 148 # unescape $head for file operations 153 # If file component has no wildcards, we can avoid opendir 164 # unescape $head and $tail for file operations 196 # char '\' are valid characters for file and directory names. 300 # package by saying C<use File::DosGlob 'glob';> in that 422 File::DosGlob - DOS like globbing and then some 429 use File::DosGlob 'glob' [all...] |
| Find.pm | 1 package File::Find; 12 # push and pops. That is remains in the same order as in the directory file, 18 File::Find - Traverse a directory tree. 22 use File::Find; 26 use File::Find; 30 use File::Find; 36 on each file found similar to the Unix I<find> command. File::Find 48 the order they are given. For each file or directory found, it calls 52 C<&wanted> function on each file or subdirectory in the directory [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
| File.pm | 3 package IO::File; 7 IO::File - supply object methods for filehandles 11 use IO::File; 13 $fh = new IO::File; 14 if ($fh->open("< file")) { 19 $fh = new IO::File "> file"; 25 $fh = new IO::File "file", "r"; 28 undef $fh; # automatically closes the file [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/Spec/ |
| Functions.pm | 1 package File::Spec::Functions; 3 use File::Spec; 40 my $sub = File::Spec->can($meth); 42 *{$meth} = sub {&$sub('File::Spec', @_)}; 51 File::Spec::Functions - portably perform operations on file names 55 use File::Spec::Functions; 61 provided by File::Spec. 63 For a reference of available functions, please consult L<File::Spec::Unix>, 65 other platforms. For further information, please see L<File::Spec::Mac> [all...] |
| Epoc.pm | 1 package File::Spec::Epoc; 8 require File::Spec::Unix; 9 @ISA = qw(File::Spec::Unix); 13 File::Spec::Epoc - methods for Epoc file specs 17 require File::Spec::Epoc; # Done internally by File::Spec if needed 21 See File::Spec::Unix for a documentation of the methods provided 65 See L<File::Spec> and L<File::Spec::Unix>. This package overrides th [all...] |
| Cygwin.pm | 1 package File::Spec::Cygwin; 5 require File::Spec::Unix; 9 @ISA = qw(File::Spec::Unix); 13 File::Spec::Cygwin - methods for Cygwin file specs 17 require File::Spec::Cygwin; # Done internally by File::Spec if needed 21 See L<File::Spec> and L<File::Spec::Unix>. This package overrides the 36 and then File::Spec::Unix canonpath() is called on the result [all...] |
| OS2.pm | 1 package File::Spec::OS2; 5 require File::Spec::Unix; 9 @ISA = qw(File::Spec::Unix); 20 my ($self,$file) = @_; 21 return scalar($file =~ m{^([a-z]:)?[\\/]}is); 74 my ($volume,$directory,$file) = ('','',''); 94 $file = $3; 97 return ($volume,$directory,$file); 108 my ($self,$volume,$directory,$file) = @_; 123 $file =~ m@[^\\/] [all...] |
| Win32.pm | 1 package File::Spec::Win32; 6 require File::Spec::Unix; 10 @ISA = qw(File::Spec::Unix); 14 File::Spec::Win32 - methods for Win32 file specs 18 require File::Spec::Win32; # Done internally by File::Spec if needed 22 See File::Spec::Unix for a documentation of the methods provided 51 The SYS:/temp is preferred in Novell NetWare (the File::Spec::Win32 75 my ($self,$file) = @_ [all...] |
| Mac.pm | 1 package File::Spec::Mac; 5 require File::Spec::Unix; 9 @ISA = qw(File::Spec::Unix); 21 File::Spec::Mac - File::Spec for Mac OS (Classic) 25 require File::Spec::Mac; # Done internally by File::Spec if needed 29 Methods for manipulating file specifications. 52 done in MacPerl's environment and helps to distinguish a file path from a 57 to portability reasons. Since C<File::Spec-E<gt>catdir()> returns relative path [all...] |
| Unix.pm | 1 package File::Spec::Unix; 10 File::Spec::Unix - File::Spec for Unix, base for other File::Spec modules 14 require File::Spec::Unix; # Done automatically by File::Spec 18 Methods for manipulating file specifications. Other File::Spec 19 modules, such as File::Spec::Mac, inherit from File::Spec::Unix an [all...] |
| VMS.pm | 1 package File::Spec::VMS; 5 require File::Spec::Unix; 9 @ISA = qw(File::Spec::Unix); 11 use File::Basename; 16 File::Spec::VMS - methods for VMS file specs 20 require File::Spec::VMS; # Done internally by File::Spec if needed 24 See File::Spec::Unix for a documentation of the methods provided 34 as a file specification in Unix syntax [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/File/ |
| File.pm | 4 # The contents of this file are subject to the terms of the 6 # You may not use this file except in compliance with the License. 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 28 # File.pm contains wrappers for the exacct file manipulation routines. 35 package Sun::Solaris::Exacct::File;
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/File/Glob/ |
| Glob.pm | 1 package File::Glob; 71 *CORE::GLOBAL::glob = \&File::Glob::csh_glob; 96 XSLoader::load 'File::Glob', $VERSION; 125 # File::Glob::glob() is deprecated because its prototype is different from 132 ## borrowed heavily from gsar's File::DosGlob 193 File::Glob - Perl extension for BSD glob routine 197 use File::Glob ':glob'; 206 use File::Glob ':globally'; 210 use File::Glob qw(:globally :case); 214 use File::Glob qw(:globally :nocase) [all...] |
| /onnv/onnv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
| Program.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 42 * @see Consumer#compile(java.io.File program, String[] macroArgs) 96 * contents of the {@code File} passed to {@link 97 * Consumer#compile(java.io.File program, String[] macroArgs)} 163 * Gets the contents of the given file as a string. 165 * @return non-null contents of the given file as a string 167 * the given file 220 java.io.File file; field in class:Program.File [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/ |
| File.pm | 2 package Tie::File; 23 my ($pack, $file, %opts) = @_; 59 $opts{cache} = Tie::File::Cache->new($opts{memory}); 71 $opts{filename} = $file; 88 if (UNIVERSAL::isa($file, 'GLOB')) { 93 unless (seek $file, 1, SEEK_SET) { 96 seek $file, 0, SEEK_SET # put it back 97 $fh = $file; # setting binmode is the user's problem 98 } elsif (ref $file) { 107 sysopen $fh, $file, $opts{mode}, 0666 or return [all...] |
| /onnv/onnv-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
| db.c | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 64 table_t *File; 160 * Output File -- set from either -o option or file name. 179 errlog(VERBOSE, "output file = '%s'\n", Database.Output_File); 192 errlog(VERBOSE, "output file from -o = '%s'\n", 197 /* We generate it from the current input file. * [all...] |
| /onnv/onnv-gate/usr/src/cmd/logadm/ |
| err.c | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 42 static FILE *Errorfile; 59 static const char *File; 66 err_fileline(const char *file, int line) 68 File = file; 116 if (fileline && File) { [all...] |