cmp

cmp These operators are documented in perlop.

ord

ord EXPR ord Returns the numeric value of the first character of EXPR. If EXPR is an empty string, returns 0. If EXPR is omitted, uses $_ . (Note character, not byte.) For the reverse, see chr. See perlunicode for more about Unicode.

DBM_Filter -- Filter DBM keys/values

NAME SYNOPSIS DESCRIPTION What is a DBM Filter?So what's new? METHODS$db->Filter_Push() / $db->Filter_Key_Push() / $db->Filter_Value_Push() $db->Filter_Pop() $db->Filtered() Writing a FilterImmediate Filters Canned Filters Filters Included NOTESMaintain Round Trip Integrity Don't mix filtered & non-filtered data in the same database file. EXAMPLE SEE ALSO AUTHOR NAME DBM_Filter -- Filter DBM keys/values SYNOPSIS use DBM_Filter ; use SDBM_File; # or DB_File, GDBM_File

perlperf - Perl Performance and Optimization Techniques

NAME DESCRIPTION OVERVIEWONE STEP SIDEWAYS ONE STEP FORWARD ANOTHER STEP SIDEWAYS GENERAL GUIDELINES BENCHMARKSAssigning and Dereferencing Variables. Search and replace or tr PROFILING TOOLSDevel::DProf Devel::Profiler Devel::SmallProf Devel::FastProf Devel::NYTProf SORTING LOGGINGLogging if DEBUG (constant) POSTSCRIPT SEE ALSOPERLDOCS MAN PAGES MODULES URLS AUTHOR NAME perlperf - Perl Performance and Optimization Techniques DESCRIPTION This is an introduction to the use of performan

AutoLoader - load subroutines only on demand

NAME SYNOPSIS DESCRIPTIONSubroutine Stubs Using *AutoLoader*'s AUTOLOAD Subroutine Overriding *AutoLoader*'s AUTOLOAD Subroutine Package Lexicals Not Using AutoLoader *AutoLoader* vs. *SelfLoader* Forcing AutoLoader to Load a Function CAVEATS SEE ALSO AUTHOR COPYRIGHT AND LICENSE NAME AutoLoader - load subroutines only on demand SYNOPSIS package Foo; use AutoLoader 'AUTOLOAD'; # import the default AUTOLOAD subroutine package Bar; use AutoLoader; # don't import AUTOLOAD, defi

I/O Operators

I/O Operators There are several I/O operators you should know about. A string enclosed by backticks (grave accents) first undergoes double-quote interpolation. It is then interpreted as an external command, and the output of that command is the value of the backtick string, like in a shell. In scalar context, a single string consisting of all output is returned. In list context, a list of values is returned, one per line of output. (You can set $/ to use a different line terminator.) The comma

Named Unary Operators

Named Unary Operators The various named unary operators are treated as functions with one argument, with optional parentheses. If any list operator (print(), etc.) or any unary operator (chdir(), etc.) is followed by a left parenthesis as the next token, the operator and arguments within parentheses are taken to be of highest precedence, just like a normal function call. For example, because named unary operators are higher precedence than ||: chdir $foo || die; # (chdir $foo) || die chdir(

lock

lock THING This function places an advisory lock on a shared variable or referenced object contained in THING until the lock goes out of scope. The value returned is the scalar itself, if the argument is a scalar, or a reference, if the argument is a hash, array or subroutine. lock() is a "weak keyword" : this means that if you've defined a function by this name (before any calls to it), that function will be called instead. If you are not under use threads::shared this does nothing. See thread

$a

$a

Net::servent - by-name interface to Perl's built-in getserv*() functions

NAME SYNOPSIS DESCRIPTION EXAMPLES NOTE AUTHOR NAME Net::servent - by-name interface to Perl's built-in getserv*() functions SYNOPSIS use Net::servent; $s = getservbyname(shift || 'ftp') || die "no service"; printf "port for %s is %s, aliases are %s\n", $s->name, $s->port, "@{$s->aliases}"; use Net::servent qw(:FIELDS); getservbyname(shift || 'ftp') || die "no service"; print "port for $s_name is $s_port, aliases are @s_aliases\n"; DESCRIPTION This module's default exports overr