1*0Sstevel@tonic-gatepackage Pod::Functions; 2*0Sstevel@tonic-gateuse strict; 3*0Sstevel@tonic-gate 4*0Sstevel@tonic-gate=head1 NAME 5*0Sstevel@tonic-gate 6*0Sstevel@tonic-gatePod::Functions - Group Perl's functions a la perlfunc.pod 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gate=head1 SYNOPSIS 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate use Pod::Functions; 11*0Sstevel@tonic-gate 12*0Sstevel@tonic-gate my @misc_ops = @{ $Kinds{ 'Misc' } }; 13*0Sstevel@tonic-gate my $misc_dsc = $Type_Description{ 'Misc' }; 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gateor 16*0Sstevel@tonic-gate 17*0Sstevel@tonic-gate perl /path/to/lib/Pod/Functions.pm 18*0Sstevel@tonic-gate 19*0Sstevel@tonic-gateThis will print a grouped list of Perl's functions, like the 20*0Sstevel@tonic-gateL<perlfunc/"Perl Functions by Category"> section. 21*0Sstevel@tonic-gate 22*0Sstevel@tonic-gate=head1 DESCRIPTION 23*0Sstevel@tonic-gate 24*0Sstevel@tonic-gateIt exports the following variables: 25*0Sstevel@tonic-gate 26*0Sstevel@tonic-gate=over 4 27*0Sstevel@tonic-gate 28*0Sstevel@tonic-gate=item %Kinds 29*0Sstevel@tonic-gate 30*0Sstevel@tonic-gateThis holds a hash-of-lists. Each list contains the functions in the catagory 31*0Sstevel@tonic-gatethe key denotes. 32*0Sstevel@tonic-gate 33*0Sstevel@tonic-gate=item %Type 34*0Sstevel@tonic-gate 35*0Sstevel@tonic-gateIn this hash each key represents a function and the value is the catagory. 36*0Sstevel@tonic-gateThe catagory can be a comma separated list. 37*0Sstevel@tonic-gate 38*0Sstevel@tonic-gate=item %Flavor 39*0Sstevel@tonic-gate 40*0Sstevel@tonic-gateIn this hash each key represents a function and the value is a short 41*0Sstevel@tonic-gatedescription of that function. 42*0Sstevel@tonic-gate 43*0Sstevel@tonic-gate=item %Type_Description 44*0Sstevel@tonic-gate 45*0Sstevel@tonic-gateIn this hash each key represents a catagory of functions and the value is 46*0Sstevel@tonic-gatea short description of that catagory. 47*0Sstevel@tonic-gate 48*0Sstevel@tonic-gate=item @Type_Order 49*0Sstevel@tonic-gate 50*0Sstevel@tonic-gateThis list of catagories is used to produce the same order as the 51*0Sstevel@tonic-gateL<perlfunc/"Perl Functions by Category"> section. 52*0Sstevel@tonic-gate 53*0Sstevel@tonic-gate=back 54*0Sstevel@tonic-gate 55*0Sstevel@tonic-gate=head1 CHANGES 56*0Sstevel@tonic-gate 57*0Sstevel@tonic-gate1.02 20020813 <abe@ztreet.demon.nl> 58*0Sstevel@tonic-gate de-typo in the SYNOPSIS section (thanks Mike Castle for noticing) 59*0Sstevel@tonic-gate 60*0Sstevel@tonic-gate1.01 20011229 <abe@ztreet.demon.nl> 61*0Sstevel@tonic-gate fixed some bugs that slipped in after 5.6.1 62*0Sstevel@tonic-gate added the pod 63*0Sstevel@tonic-gate finished making it strict safe 64*0Sstevel@tonic-gate 65*0Sstevel@tonic-gate1.00 ?? 66*0Sstevel@tonic-gate first numbered version 67*0Sstevel@tonic-gate 68*0Sstevel@tonic-gate=cut 69*0Sstevel@tonic-gate 70*0Sstevel@tonic-gateour $VERSION = '1.02'; 71*0Sstevel@tonic-gate 72*0Sstevel@tonic-gaterequire Exporter; 73*0Sstevel@tonic-gate 74*0Sstevel@tonic-gateour @ISA = qw(Exporter); 75*0Sstevel@tonic-gateour @EXPORT = qw(%Kinds %Type %Flavor %Type_Description @Type_Order); 76*0Sstevel@tonic-gate 77*0Sstevel@tonic-gateour(%Kinds, %Type, %Flavor); 78*0Sstevel@tonic-gate 79*0Sstevel@tonic-gateour %Type_Description = ( 80*0Sstevel@tonic-gate 'ARRAY' => 'Functions for real @ARRAYs', 81*0Sstevel@tonic-gate 'Binary' => 'Functions for fixed length data or records', 82*0Sstevel@tonic-gate 'File' => 'Functions for filehandles, files, or directories', 83*0Sstevel@tonic-gate 'Flow' => 'Keywords related to control flow of your perl program', 84*0Sstevel@tonic-gate 'HASH' => 'Functions for real %HASHes', 85*0Sstevel@tonic-gate 'I/O' => 'Input and output functions', 86*0Sstevel@tonic-gate 'LIST' => 'Functions for list data', 87*0Sstevel@tonic-gate 'Math' => 'Numeric functions', 88*0Sstevel@tonic-gate 'Misc' => 'Miscellaneous functions', 89*0Sstevel@tonic-gate 'Modules' => 'Keywords related to perl modules', 90*0Sstevel@tonic-gate 'Network' => 'Fetching network info', 91*0Sstevel@tonic-gate 'Objects' => 'Keywords related to classes and object-orientedness', 92*0Sstevel@tonic-gate 'Process' => 'Functions for processes and process groups', 93*0Sstevel@tonic-gate 'Regexp' => 'Regular expressions and pattern matching', 94*0Sstevel@tonic-gate 'Socket' => 'Low-level socket functions', 95*0Sstevel@tonic-gate 'String' => 'Functions for SCALARs or strings', 96*0Sstevel@tonic-gate 'SysV' => 'System V interprocess communication functions', 97*0Sstevel@tonic-gate 'Time' => 'Time-related functions', 98*0Sstevel@tonic-gate 'User' => 'Fetching user and group info', 99*0Sstevel@tonic-gate 'Namespace' => 'Keywords altering or affecting scoping of identifiers', 100*0Sstevel@tonic-gate); 101*0Sstevel@tonic-gate 102*0Sstevel@tonic-gateour @Type_Order = qw{ 103*0Sstevel@tonic-gate String 104*0Sstevel@tonic-gate Regexp 105*0Sstevel@tonic-gate Math 106*0Sstevel@tonic-gate ARRAY 107*0Sstevel@tonic-gate LIST 108*0Sstevel@tonic-gate HASH 109*0Sstevel@tonic-gate I/O 110*0Sstevel@tonic-gate Binary 111*0Sstevel@tonic-gate File 112*0Sstevel@tonic-gate Flow 113*0Sstevel@tonic-gate Namespace 114*0Sstevel@tonic-gate Misc 115*0Sstevel@tonic-gate Process 116*0Sstevel@tonic-gate Modules 117*0Sstevel@tonic-gate Objects 118*0Sstevel@tonic-gate Socket 119*0Sstevel@tonic-gate SysV 120*0Sstevel@tonic-gate User 121*0Sstevel@tonic-gate Network 122*0Sstevel@tonic-gate Time 123*0Sstevel@tonic-gate}; 124*0Sstevel@tonic-gate 125*0Sstevel@tonic-gatewhile (<DATA>) { 126*0Sstevel@tonic-gate chomp; 127*0Sstevel@tonic-gate s/#.*//; 128*0Sstevel@tonic-gate next unless $_; 129*0Sstevel@tonic-gate my($name, $type, $text) = split " ", $_, 3; 130*0Sstevel@tonic-gate $Type{$name} = $type; 131*0Sstevel@tonic-gate $Flavor{$name} = $text; 132*0Sstevel@tonic-gate for my $t ( split /[,\s]+/, $type ) { 133*0Sstevel@tonic-gate push @{$Kinds{$t}}, $name; 134*0Sstevel@tonic-gate } 135*0Sstevel@tonic-gate} 136*0Sstevel@tonic-gate 137*0Sstevel@tonic-gateclose DATA; 138*0Sstevel@tonic-gate 139*0Sstevel@tonic-gatemy( $typedesc, $list ); 140*0Sstevel@tonic-gateunless (caller) { 141*0Sstevel@tonic-gate foreach my $type ( @Type_Order ) { 142*0Sstevel@tonic-gate $list = join(", ", sort @{$Kinds{$type}}); 143*0Sstevel@tonic-gate $typedesc = $Type_Description{$type} . ":"; 144*0Sstevel@tonic-gate write; 145*0Sstevel@tonic-gate } 146*0Sstevel@tonic-gate} 147*0Sstevel@tonic-gate 148*0Sstevel@tonic-gateformat = 149*0Sstevel@tonic-gate 150*0Sstevel@tonic-gate^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 151*0Sstevel@tonic-gate $typedesc 152*0Sstevel@tonic-gate~~ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 153*0Sstevel@tonic-gate $typedesc 154*0Sstevel@tonic-gate ~~ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 155*0Sstevel@tonic-gate $list 156*0Sstevel@tonic-gate. 157*0Sstevel@tonic-gate 158*0Sstevel@tonic-gate1; 159*0Sstevel@tonic-gate 160*0Sstevel@tonic-gate__DATA__ 161*0Sstevel@tonic-gate-X File a file test (-r, -x, etc) 162*0Sstevel@tonic-gateabs Math absolute value function 163*0Sstevel@tonic-gateaccept Socket accept an incoming socket connect 164*0Sstevel@tonic-gatealarm Process schedule a SIGALRM 165*0Sstevel@tonic-gateatan2 Math arctangent of Y/X in the range -PI to PI 166*0Sstevel@tonic-gatebind Socket binds an address to a socket 167*0Sstevel@tonic-gatebinmode I/O prepare binary files for I/O 168*0Sstevel@tonic-gatebless Objects create an object 169*0Sstevel@tonic-gatecaller Flow,Namespace get context of the current subroutine call 170*0Sstevel@tonic-gatechdir File change your current working directory 171*0Sstevel@tonic-gatechmod File changes the permissions on a list of files 172*0Sstevel@tonic-gatechomp String remove a trailing record separator from a string 173*0Sstevel@tonic-gatechop String remove the last character from a string 174*0Sstevel@tonic-gatechown File change the owership on a list of files 175*0Sstevel@tonic-gatechr String get character this number represents 176*0Sstevel@tonic-gatechroot File make directory new root for path lookups 177*0Sstevel@tonic-gateclose I/O close file (or pipe or socket) handle 178*0Sstevel@tonic-gateclosedir I/O close directory handle 179*0Sstevel@tonic-gateconnect Socket connect to a remote socket 180*0Sstevel@tonic-gatecontinue Flow optional trailing block in a while or foreach 181*0Sstevel@tonic-gatecos Math cosine function 182*0Sstevel@tonic-gatecrypt String one-way passwd-style encryption 183*0Sstevel@tonic-gatedbmclose Objects,I/O breaks binding on a tied dbm file 184*0Sstevel@tonic-gatedbmopen Objects,I/O create binding on a tied dbm file 185*0Sstevel@tonic-gatedefined Misc test whether a value, variable, or function is defined 186*0Sstevel@tonic-gatedelete HASH deletes a value from a hash 187*0Sstevel@tonic-gatedie I/O,Flow raise an exception or bail out 188*0Sstevel@tonic-gatedo Flow,Modules turn a BLOCK into a TERM 189*0Sstevel@tonic-gatedump Misc,Flow create an immediate core dump 190*0Sstevel@tonic-gateeach HASH retrieve the next key/value pair from a hash 191*0Sstevel@tonic-gateendgrent User be done using group file 192*0Sstevel@tonic-gateendhostent User be done using hosts file 193*0Sstevel@tonic-gateendnetent User be done using networks file 194*0Sstevel@tonic-gateendprotoent Network be done using protocols file 195*0Sstevel@tonic-gateendpwent User be done using passwd file 196*0Sstevel@tonic-gateendservent Network be done using services file 197*0Sstevel@tonic-gateeof I/O test a filehandle for its end 198*0Sstevel@tonic-gateeval Flow,Misc catch exceptions or compile and run code 199*0Sstevel@tonic-gateexec Process abandon this program to run another 200*0Sstevel@tonic-gateexists HASH test whether a hash key is present 201*0Sstevel@tonic-gateexit Flow terminate this program 202*0Sstevel@tonic-gateexp Math raise I<e> to a power 203*0Sstevel@tonic-gatefcntl File file control system call 204*0Sstevel@tonic-gatefileno I/O return file descriptor from filehandle 205*0Sstevel@tonic-gateflock I/O lock an entire file with an advisory lock 206*0Sstevel@tonic-gatefork Process create a new process just like this one 207*0Sstevel@tonic-gateformat I/O declare a picture format with use by the write() function 208*0Sstevel@tonic-gateformline Misc internal function used for formats 209*0Sstevel@tonic-gategetc I/O get the next character from the filehandle 210*0Sstevel@tonic-gategetgrent User get next group record 211*0Sstevel@tonic-gategetgrgid User get group record given group user ID 212*0Sstevel@tonic-gategetgrnam User get group record given group name 213*0Sstevel@tonic-gategethostbyaddr Network get host record given its address 214*0Sstevel@tonic-gategethostbyname Network get host record given name 215*0Sstevel@tonic-gategethostent Network get next hosts record 216*0Sstevel@tonic-gategetlogin User return who logged in at this tty 217*0Sstevel@tonic-gategetnetbyaddr Network get network record given its address 218*0Sstevel@tonic-gategetnetbyname Network get networks record given name 219*0Sstevel@tonic-gategetnetent Network get next networks record 220*0Sstevel@tonic-gategetpeername Socket find the other end of a socket connection 221*0Sstevel@tonic-gategetpgrp Process get process group 222*0Sstevel@tonic-gategetppid Process get parent process ID 223*0Sstevel@tonic-gategetpriority Process get current nice value 224*0Sstevel@tonic-gategetprotobyname Network get protocol record given name 225*0Sstevel@tonic-gategetprotobynumber Network get protocol record numeric protocol 226*0Sstevel@tonic-gategetprotoent Network get next protocols record 227*0Sstevel@tonic-gategetpwent User get next passwd record 228*0Sstevel@tonic-gategetpwnam User get passwd record given user login name 229*0Sstevel@tonic-gategetpwuid User get passwd record given user ID 230*0Sstevel@tonic-gategetservbyname Network get services record given its name 231*0Sstevel@tonic-gategetservbyport Network get services record given numeric port 232*0Sstevel@tonic-gategetservent Network get next services record 233*0Sstevel@tonic-gategetsockname Socket retrieve the sockaddr for a given socket 234*0Sstevel@tonic-gategetsockopt Socket get socket options on a given socket 235*0Sstevel@tonic-gateglob File expand filenames using wildcards 236*0Sstevel@tonic-gategmtime Time convert UNIX time into record or string using Greenwich time 237*0Sstevel@tonic-gategoto Flow create spaghetti code 238*0Sstevel@tonic-gategrep LIST locate elements in a list test true against a given criterion 239*0Sstevel@tonic-gatehex Math,String convert a string to a hexadecimal number 240*0Sstevel@tonic-gateimport Modules,Namespace patch a module's namespace into your own 241*0Sstevel@tonic-gateindex String find a substring within a string 242*0Sstevel@tonic-gateint Math get the integer portion of a number 243*0Sstevel@tonic-gateioctl File system-dependent device control system call 244*0Sstevel@tonic-gatejoin LIST join a list into a string using a separator 245*0Sstevel@tonic-gatekeys HASH retrieve list of indices from a hash 246*0Sstevel@tonic-gatekill Process send a signal to a process or process group 247*0Sstevel@tonic-gatelast Flow exit a block prematurely 248*0Sstevel@tonic-gatelc String return lower-case version of a string 249*0Sstevel@tonic-gatelcfirst String return a string with just the next letter in lower case 250*0Sstevel@tonic-gatelength String return the number of bytes in a string 251*0Sstevel@tonic-gatelink File create a hard link in the filesytem 252*0Sstevel@tonic-gatelisten Socket register your socket as a server 253*0Sstevel@tonic-gatelocal Misc,Namespace create a temporary value for a global variable (dynamic scoping) 254*0Sstevel@tonic-gatelocaltime Time convert UNIX time into record or string using local time 255*0Sstevel@tonic-gatelock Threads get a thread lock on a variable, subroutine, or method 256*0Sstevel@tonic-gatelog Math retrieve the natural logarithm for a number 257*0Sstevel@tonic-gatelstat File stat a symbolic link 258*0Sstevel@tonic-gatem// Regexp match a string with a regular expression pattern 259*0Sstevel@tonic-gatemap LIST apply a change to a list to get back a new list with the changes 260*0Sstevel@tonic-gatemkdir File create a directory 261*0Sstevel@tonic-gatemsgctl SysV SysV IPC message control operations 262*0Sstevel@tonic-gatemsgget SysV get SysV IPC message queue 263*0Sstevel@tonic-gatemsgrcv SysV receive a SysV IPC message from a message queue 264*0Sstevel@tonic-gatemsgsnd SysV send a SysV IPC message to a message queue 265*0Sstevel@tonic-gatemy Misc,Namespace declare and assign a local variable (lexical scoping) 266*0Sstevel@tonic-gatenext Flow iterate a block prematurely 267*0Sstevel@tonic-gateno Modules unimport some module symbols or semantics at compile time 268*0Sstevel@tonic-gatepackage Modules,Objects,Namespace declare a separate global namespace 269*0Sstevel@tonic-gateprototype Flow,Misc get the prototype (if any) of a subroutine 270*0Sstevel@tonic-gateoct String,Math convert a string to an octal number 271*0Sstevel@tonic-gateopen File open a file, pipe, or descriptor 272*0Sstevel@tonic-gateopendir File open a directory 273*0Sstevel@tonic-gateord String find a character's numeric representation 274*0Sstevel@tonic-gateour Misc,Namespace declare and assign a package variable (lexical scoping) 275*0Sstevel@tonic-gatepack Binary,String convert a list into a binary representation 276*0Sstevel@tonic-gatepipe Process open a pair of connected filehandles 277*0Sstevel@tonic-gatepop ARRAY remove the last element from an array and return it 278*0Sstevel@tonic-gatepos Regexp find or set the offset for the last/next m//g search 279*0Sstevel@tonic-gateprint I/O output a list to a filehandle 280*0Sstevel@tonic-gateprintf I/O output a formatted list to a filehandle 281*0Sstevel@tonic-gatepush ARRAY append one or more elements to an array 282*0Sstevel@tonic-gateq/STRING/ String singly quote a string 283*0Sstevel@tonic-gateqq/STRING/ String doubly quote a string 284*0Sstevel@tonic-gatequotemeta Regexp quote regular expression magic characters 285*0Sstevel@tonic-gateqw/STRING/ LIST quote a list of words 286*0Sstevel@tonic-gateqx/STRING/ Process backquote quote a string 287*0Sstevel@tonic-gateqr/STRING/ Regexp Compile pattern 288*0Sstevel@tonic-gaterand Math retrieve the next pseudorandom number 289*0Sstevel@tonic-gateread I/O,Binary fixed-length buffered input from a filehandle 290*0Sstevel@tonic-gatereaddir I/O get a directory from a directory handle 291*0Sstevel@tonic-gatereadline I/O fetch a record from a file 292*0Sstevel@tonic-gatereadlink File determine where a symbolic link is pointing 293*0Sstevel@tonic-gatereadpipe Process execute a system command and collect standard output 294*0Sstevel@tonic-gaterecv Socket receive a message over a Socket 295*0Sstevel@tonic-gateredo Flow start this loop iteration over again 296*0Sstevel@tonic-gateref Objects find out the type of thing being referenced 297*0Sstevel@tonic-gaterename File change a filename 298*0Sstevel@tonic-gaterequire Modules load in external functions from a library at runtime 299*0Sstevel@tonic-gatereset Misc clear all variables of a given name 300*0Sstevel@tonic-gatereturn Flow get out of a function early 301*0Sstevel@tonic-gatereverse String,LIST flip a string or a list 302*0Sstevel@tonic-gaterewinddir I/O reset directory handle 303*0Sstevel@tonic-gaterindex String right-to-left substring search 304*0Sstevel@tonic-gatermdir File remove a directory 305*0Sstevel@tonic-gates/// Regexp replace a pattern with a string 306*0Sstevel@tonic-gatescalar Misc force a scalar context 307*0Sstevel@tonic-gateseek I/O reposition file pointer for random-access I/O 308*0Sstevel@tonic-gateseekdir I/O reposition directory pointer 309*0Sstevel@tonic-gateselect I/O reset default output or do I/O multiplexing 310*0Sstevel@tonic-gatesemctl SysV SysV semaphore control operations 311*0Sstevel@tonic-gatesemget SysV get set of SysV semaphores 312*0Sstevel@tonic-gatesemop SysV SysV semaphore operations 313*0Sstevel@tonic-gatesend Socket send a message over a socket 314*0Sstevel@tonic-gatesetgrent User prepare group file for use 315*0Sstevel@tonic-gatesethostent Network prepare hosts file for use 316*0Sstevel@tonic-gatesetnetent Network prepare networks file for use 317*0Sstevel@tonic-gatesetpgrp Process set the process group of a process 318*0Sstevel@tonic-gatesetpriority Process set a process's nice value 319*0Sstevel@tonic-gatesetprotoent Network prepare protocols file for use 320*0Sstevel@tonic-gatesetpwent User prepare passwd file for use 321*0Sstevel@tonic-gatesetservent Network prepare services file for use 322*0Sstevel@tonic-gatesetsockopt Socket set some socket options 323*0Sstevel@tonic-gateshift ARRAY remove the first element of an array, and return it 324*0Sstevel@tonic-gateshmctl SysV SysV shared memory operations 325*0Sstevel@tonic-gateshmget SysV get SysV shared memory segment identifier 326*0Sstevel@tonic-gateshmread SysV read SysV shared memory 327*0Sstevel@tonic-gateshmwrite SysV write SysV shared memory 328*0Sstevel@tonic-gateshutdown Socket close down just half of a socket connection 329*0Sstevel@tonic-gatesin Math return the sine of a number 330*0Sstevel@tonic-gatesleep Process block for some number of seconds 331*0Sstevel@tonic-gatesocket Socket create a socket 332*0Sstevel@tonic-gatesocketpair Socket create a pair of sockets 333*0Sstevel@tonic-gatesort LIST sort a list of values 334*0Sstevel@tonic-gatesplice ARRAY add or remove elements anywhere in an array 335*0Sstevel@tonic-gatesplit Regexp split up a string using a regexp delimiter 336*0Sstevel@tonic-gatesprintf String formatted print into a string 337*0Sstevel@tonic-gatesqrt Math square root function 338*0Sstevel@tonic-gatesrand Math seed the random number generator 339*0Sstevel@tonic-gatestat File get a file's status information 340*0Sstevel@tonic-gatestudy Regexp optimize input data for repeated searches 341*0Sstevel@tonic-gatesub Flow declare a subroutine, possibly anonymously 342*0Sstevel@tonic-gatesubstr String get or alter a portion of a stirng 343*0Sstevel@tonic-gatesymlink File create a symbolic link to a file 344*0Sstevel@tonic-gatesyscall I/O,Binary execute an arbitrary system call 345*0Sstevel@tonic-gatesysopen File open a file, pipe, or descriptor 346*0Sstevel@tonic-gatesysread I/O,Binary fixed-length unbuffered input from a filehandle 347*0Sstevel@tonic-gatesysseek I/O,Binary position I/O pointer on handle used with sysread and syswrite 348*0Sstevel@tonic-gatesystem Process run a separate program 349*0Sstevel@tonic-gatesyswrite I/O,Binary fixed-length unbuffered output to a filehandle 350*0Sstevel@tonic-gatetell I/O get current seekpointer on a filehandle 351*0Sstevel@tonic-gatetelldir I/O get current seekpointer on a directory handle 352*0Sstevel@tonic-gatetie Objects bind a variable to an object class 353*0Sstevel@tonic-gatetied Objects get a reference to the object underlying a tied variable 354*0Sstevel@tonic-gatetime Time return number of seconds since 1970 355*0Sstevel@tonic-gatetimes Process,Time return elapsed time for self and child processes 356*0Sstevel@tonic-gatetr/// String transliterate a string 357*0Sstevel@tonic-gatetruncate I/O shorten a file 358*0Sstevel@tonic-gateuc String return upper-case version of a string 359*0Sstevel@tonic-gateucfirst String return a string with just the next letter in upper case 360*0Sstevel@tonic-gateumask File set file creation mode mask 361*0Sstevel@tonic-gateundef Misc remove a variable or function definition 362*0Sstevel@tonic-gateunlink File remove one link to a file 363*0Sstevel@tonic-gateunpack Binary,LIST convert binary structure into normal perl variables 364*0Sstevel@tonic-gateunshift ARRAY prepend more elements to the beginning of a list 365*0Sstevel@tonic-gateuntie Objects break a tie binding to a variable 366*0Sstevel@tonic-gateuse Modules,Namespace load a module and import its namespace 367*0Sstevel@tonic-gateuse Objects load in a module at compile time 368*0Sstevel@tonic-gateutime File set a file's last access and modify times 369*0Sstevel@tonic-gatevalues HASH return a list of the values in a hash 370*0Sstevel@tonic-gatevec Binary test or set particular bits in a string 371*0Sstevel@tonic-gatewait Process wait for any child process to die 372*0Sstevel@tonic-gatewaitpid Process wait for a particular child process to die 373*0Sstevel@tonic-gatewantarray Misc,Flow get void vs scalar vs list context of current subroutine call 374*0Sstevel@tonic-gatewarn I/O print debugging info 375*0Sstevel@tonic-gatewrite I/O print a picture record 376*0Sstevel@tonic-gatey/// String transliterate a string 377