pack

pack TEMPLATE,LIST Takes a LIST of values and converts it into a string using the rules given by the TEMPLATE. The resulting string is the concatenation of the converted values. Typically, each converted value looks like its machine-level representation. For example, on 32-bit machines an integer may be represented by a sequence of 4 bytes, which will in Perl be presented as a string that's 4 characters long. See perlpacktut for an introduction to this function. The TEMPLATE is a sequence of ch

overloading - perl pragma to lexically control overloading

NAME SYNOPSIS DESCRIPTION NAME overloading - perl pragma to lexically control overloading SYNOPSIS { no overloading; my $str = "$object"; # doesn't call stringification overload } # it's lexical, so this stringifies: warn "$object"; # it can be enabled per op no overloading qw(""); warn "$object"; # and also reenabled use overloading; DESCRIPTION This pragma allows you to lexically disable or enable overloading. no overloading Disables overloading entirely in

overload - Package for overloading Perl operations

NAME SYNOPSIS DESCRIPTIONFundamentals Overloadable Operations Magic Autogeneration Special Keys for use overload How Perl Chooses an Operator Implementation Losing Overloading Inheritance and Overloading Run-time Overloading Public Functions Overloading Constants IMPLEMENTATION COOKBOOKTwo-face Scalars Two-face References Symbolic Calculator _Really_ Symbolic Calculator AUTHOR SEE ALSO DIAGNOSTICS BUGS AND PITFALLS NAME overload - Package for overloading Perl operations SYNOPSIS packag

our

our VARLIST our TYPE VARLIST our VARLIST : ATTRS our TYPE VARLIST : ATTRS our makes a lexical alias to a package (i.e. global) variable of the same name in the current package for use within the current lexical scope. our has the same scoping rules as my or state, meaning that it is only valid within a lexical scope. Unlike my and state, which both declare new (lexical) variables, our only creates an alias to an existing variable: a package variable of the same name. This means that when use st

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.

or

or These operators are documented in perlop.

ops - Perl pragma to restrict unsafe operations when compiling

NAME SYNOPSIS DESCRIPTION SEE ALSO NAME ops - Perl pragma to restrict unsafe operations when compiling SYNOPSIS perl -Mops=:default ... # only allow reasonably safe operations perl -M-ops=system ... # disable the 'system' opcode DESCRIPTION Since the ops pragma currently has an irreversible global effect, it is only of significant practical use with the -M option on the command line. See the Opcode module for information about opcodes, optags, opmasks and important information about

Operator Precedence and Associativity

Operator Precedence and Associativity Operator precedence and associativity work in Perl more or less like they do in mathematics. Operator precedence means some operators are evaluated before others. For example, in 2 + 4 * 5 , the multiplication has higher precedence so 4 * 5 is evaluated first yielding 2 + 20 == 22 and not 6 * 5 == 30 . Operator associativity defines what happens if a sequence of the same operators is used one after another: whether the evaluator will evaluate the left oper

opendir

opendir DIRHANDLE,EXPR Opens a directory named EXPR for processing by readdir, telldir, seekdir, rewinddir, and closedir. Returns true if successful. DIRHANDLE may be an expression whose value can be used as an indirect dirhandle, usually the real dirhandle name. If DIRHANDLE is an undefined scalar variable (or array or hash element), the variable is assigned a reference to a new anonymous dirhandle; that is, it's autovivified. DIRHANDLEs have their own namespace separate from FILEHANDLEs. See

open - perl pragma to set default PerlIO layers for input and output

NAME SYNOPSIS DESCRIPTION NONPERLIO FUNCTIONALITY IMPLEMENTATION DETAILS SEE ALSO NAME open - perl pragma to set default PerlIO layers for input and output SYNOPSIS use open IN => ":crlf", OUT => ":bytes"; use open OUT => ':utf8'; use open IO => ":encoding(iso-8859-7)"; use open IO => ':locale'; use open ':encoding(utf8)'; use open ':locale'; use open ':encoding(iso-8859-7)'; use open ':std'; DESCRIPTION Full-fledged support for I/O layers is now implemented provided Per