fc

fc EXPR fc Returns the casefolded version of EXPR. This is the internal function implementing the \F escape in double-quoted strings. Casefolding is the process of mapping strings to a form where case differences are erased; comparing two strings in their casefolded form is effectively a way of asking if two strings are equal, regardless of case. Roughly, if you ever found yourself writing this lc($this) eq lc($that) # Wrong! # or uc($this) eq uc($that) # Also wrong! # or $this =~

Pod::Perldoc::ToText - let Perldoc render Pod as plaintext

NAME SYNOPSIS DESCRIPTION CAVEAT SEE ALSO COPYRIGHT AND DISCLAIMERS AUTHOR NAME Pod::Perldoc::ToText - let Perldoc render Pod as plaintext SYNOPSIS perldoc -o text Some::Modulename DESCRIPTION This is a "plug-in" class that allows Perldoc to use Pod::Text as a formatter class. It supports the following options, which are explained in Pod::Text: alt, indent, loose, quotes, sentence, width For example: perldoc -o text -w indent:5 Some::Modulename CAVEAT This module may change to use a differe

getnetbyaddr

getnetbyaddr ADDR,ADDRTYPE

File::Spec::OS2 - methods for OS/2 file specs

NAME SYNOPSIS DESCRIPTION COPYRIGHT NAME File::Spec::OS2 - methods for OS/2 file specs SYNOPSIS require File::Spec::OS2; # Done internally by File::Spec if needed DESCRIPTION See File::Spec and File::Spec::Unix. This package overrides the implementation of these methods, not the semantics. Amongst the changes made for OS/2 are... tmpdir Modifies the list of places temp directory information is looked for. $ENV{TMPDIR} $ENV{TEMP} $ENV{TMP} /tmp / splitpath Volumes can be drive letters or

last

last LABEL last EXPR last The last command is like the break statement in C (as used in loops); it immediately exits the loop in question. If the LABEL is omitted, the command refers to the innermost enclosing loop. The last EXPR form, available starting in Perl 5.18.0, allows a label name to be computed at run time, and is otherwise identical to last LABEL . The continue block, if any, is not executed: LINE: while (<STDIN>) { last LINE if /^$/; # exit when done with header #...

push

push ARRAY,LIST push EXPR,LIST Treats ARRAY as a stack by appending the values of LIST to the end of ARRAY. The length of ARRAY increases by the length of LIST. Has the same effect as for $value (LIST) { $ARRAY[++$#ARRAY] = $value; } but is more efficient. Returns the number of elements in the array following the completed push. Starting with Perl 5.14, push can take a scalar EXPR, which must hold a reference to an unblessed array. The argument will be dereferenced automatically. This aspe

recv

recv SOCKET,SCALAR,LENGTH,FLAGS Receives a message on a socket. Attempts to receive LENGTH characters of data into variable SCALAR from the specified SOCKET filehandle. SCALAR will be grown or shrunk to the length actually read. Takes the same flags as the system call of the same name. Returns the address of the sender if SOCKET's protocol supports this; returns an empty string otherwise. If there's an error, returns the undefined value. This call is actually implemented in terms of recvfrom(2)

socketpair

socketpair SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL Creates an unnamed pair of sockets in the specified domain, of the specified type. DOMAIN, TYPE, and PROTOCOL are specified the same as for the syscall of the same name. If unimplemented, raises an exception. Returns true if successful. On systems that support a close-on-exec flag on files, the flag will be set for the newly opened file descriptors, as determined by the value of $^F. See $^F in perlvar. Some systems defined pipe in terms of socket

The Arrow Operator

The Arrow Operator "-> " is an infix dereference operator, just as it is in C and C++. If the right side is either a [...] , {...} , or a (...) subscript, then the left side must be either a hard or symbolic reference to an array, a hash, or a subroutine respectively. (Or technically speaking, a location capable of holding a hard reference, if it's an array or hash reference being used for assignment.) See perlreftut and perlref. Otherwise, the right side is a method name or a simple scalar

semop

semop KEY,OPSTRING Calls the System V IPC function semop(2) for semaphore operations such as signalling and waiting. OPSTRING must be a packed array of semop structures. Each semop structure can be generated with pack("s!3", $semnum, $semop, $semflag) . The length of OPSTRING implies the number of semaphore operations. Returns true if successful, false on error. As an example, the following code waits on semaphore $semnum of semaphore id $semid: $semop = pack("s!3", $semnum, -1, 0); die "Semaph