List::Util - A selection of general-utility list subroutines

NAME SYNOPSIS DESCRIPTION LIST-REDUCTION FUNCTIONS$result = reduce { BLOCK } @list any all none notall first max maxstr min minstr product sum sum0 KEY/VALUE PAIR LIST FUNCTIONSpairgrep pairfirst pairmap pairs pairkeys pairvalues OTHER FUNCTIONSshuffle KNOWN BUGSRT #95409 SUGGESTED ADDITIONS SEE ALSO COPYRIGHT NAME List::Util - A selection of general-utility list subroutines SYNOPSIS use List::Util qw(first max maxstr min minstr reduce shuffle sum); DESCRIPTION List::Util contains a se

List Operators (Rightward)

List Operators (Rightward) On the right side of a list operator, the comma has very low precedence, such that it controls all comma-separated expressions found there. The only operators with lower precedence are the logical operators "and" , "or" , and "not" , which may be used to evaluate calls to list operators without the need for parentheses: open HANDLE, "< :utf8", "filename" or die "Can't open: $!\n"; However, some people find that code harder to read than writing it with parentheses

link

link OLDFILE,NEWFILE Creates a new filename linked to the old filename. Returns true for success, false otherwise. Portability issues: link in perlport.

libnetcfg - configure libnet

NAME DESCRIPTION USAGE SEE ALSO AUTHORS NAME libnetcfg - configure libnet DESCRIPTION The libnetcfg utility can be used to configure the libnet. Starting from perl 5.8 libnet is part of the standard Perl distribution, but the libnetcfg can be used for any libnet installation. USAGE Without arguments libnetcfg displays the current configuration. $ libnetcfg # old config ./libnet.cfg daytime_hosts ntp1.none.such ftp_int_passive 0 ftp_testhost ftp.funet.fi inet_domain

lib - manipulate @INC at compile time

NAME SYNOPSIS DESCRIPTIONAdding directories to @INC Deleting directories from @INC Restoring original @INC CAVEATS NOTES SEE ALSO AUTHOR COPYRIGHT AND LICENSE NAME lib - manipulate @INC at compile time SYNOPSIS use lib LIST; no lib LIST; DESCRIPTION This is a small simple module which simplifies the manipulation of @INC at compile time. It is typically used to add extra directories to perl's search path so that later use or require statements will find modules which are not located on per

less - perl pragma to request less of something

NAME SYNOPSIS DESCRIPTION FOR MODULE AUTHORSBOOLEAN = less->of( FEATURE ) FEATURES = less->of() CAVEATS NAME less - perl pragma to request less of something SYNOPSIS use less 'CPU'; DESCRIPTION This is a user-pragma. If you're very lucky some code you're using will know that you asked for less CPU usage or ram or fat or... we just can't know. Consult your documentation on everything you're currently using. For general suggestions, try requesting CPU or memory . use less 'memory'; use

length

length EXPR length Returns the length in characters of the value of EXPR. If EXPR is omitted, returns the length of $_ . If EXPR is undefined, returns undef. This function cannot be used on an entire array or hash to find out how many elements these have. For that, use scalar @array and scalar keys %hash , respectively. Like all Perl character operations, length() normally deals in logical characters, not physical bytes. For how many bytes a string encoded as UTF-8 would take up, use length(Enc

le

le These operators are documented in perlop.

lcfirst

lcfirst EXPR lcfirst Returns the value of EXPR with the first character lowercased. This is the internal function implementing the \l escape in double-quoted strings. If EXPR is omitted, uses $_ . This function behaves the same way under various pragmata, such as in a locale, as lc does.

lc

lc EXPR lc Returns a lowercased version of EXPR. This is the internal function implementing the \L escape in double-quoted strings. If EXPR is omitted, uses $_ . What gets returned depends on several factors: If use bytes is in effect: The results follow ASCII rules. Only the characters A-Z change, to a-z respectively. Otherwise, if use locale for LC_CTYPE is in effect: Respects current LC_CTYPE locale for code points < 256; and uses Unicode rules for the remaining code points (this last can