while

while These flow-control keywords are documented in Compound Statements in perlsyn.

x

x xor These operators are documented in perlop.

warnings

SYNOPSIS DESCRIPTIONDefault Warnings and Optional Warnings What's wrong with *-w* and $^W Controlling Warnings from the Command Line Backward Compatibility Category Hierarchy Fatal Warnings Reporting Warnings from a Module FUNCTIONS SYNOPSIS use warnings; no warnings; use warnings "all"; no warnings "all"; use warnings::register; if (warnings::enabled()) { warnings::warn("some warning"); } if (warnings::enabled("void")) { warnings::warn("void", "some warning"); } if (warnings

when

when These flow-control keywords related to the experimental switch feature are documented in Switch Statements in perlsyn.

warnings::register - warnings import function

NAME SYNOPSIS DESCRIPTION NAME warnings::register - warnings import function SYNOPSIS use warnings::register; DESCRIPTION Creates a warnings category with the same name as the current package. See warnings for more information on this module's usage.

write

write FILEHANDLE write EXPR write Writes a formatted record (possibly multi-line) to the specified FILEHANDLE, using the format associated with that file. By default the format for a file is the one having the same name as the filehandle, but the format for the current output channel (see the select function) may be set explicitly by assigning the name of the format to the $~ variable. Top of form processing is handled automatically: if there is insufficient room on the current page for the for

warn

warn LIST Prints the value of LIST to STDERR. If the last element of LIST does not end in a newline, it appends the same file/line number text as die does. If the output is empty and $@ already contains a value (typically from a previous eval) that value is used after appending "\t...caught" to $@ . This is useful for staying almost, but not entirely similar to die. If $@ is empty then the string "Warning: Something's wrong" is used. No message is printed if there is a $SIG{__WARN__} handler in

vmsish - Perl pragma to control VMS-specific language features

NAME SYNOPSIS DESCRIPTION NAME vmsish - Perl pragma to control VMS-specific language features SYNOPSIS use vmsish; use vmsish 'status'; # or '$?' use vmsish 'exit'; use vmsish 'time'; use vmsish 'hushed'; no vmsish 'hushed'; vmsish::hushed($hush); use vmsish; no vmsish 'time'; DESCRIPTION If no import list is supplied, all possible VMS-specific features are assumed. Currently, there are four VMS-specific features available: 'status' (a.k.a '$?'), 'exit', 'time' and 'hushed'. If you're not

waitpid

waitpid PID,FLAGS Waits for a particular child process to terminate and returns the pid of the deceased process, or -1 if there is no such child process. On some systems, a value of 0 indicates that there are processes still running. The status is returned in $? and ${^CHILD_ERROR_NATIVE} . If you say use POSIX ":sys_wait_h"; #... do { $kid = waitpid(-1, WNOHANG); } while $kid > 0; then you can do a non-blocking wait for all pending zombie processes. Non-blocking wait is available on ma

wantarray

wantarray Returns true if the context of the currently executing subroutine or eval is looking for a list value. Returns false if the context is looking for a scalar. Returns the undefined value if the context is looking for no value (void context). return unless defined wantarray; # don't bother doing more my @a = complex_calculation(); return wantarray ? @a : "@a"; wantarray()'s result is unspecified in the top level of a file, in a BEGIN , UNITCHECK , CHECK , INIT or END block, or in a DEST