Range Operators

Range Operators Binary ".." is the range operator, which is really two different operators depending on the context. In list context, it returns a list of values counting (up by ones) from the left value to the right value. If the left value is greater than the right value then it returns the empty list. The range operator is useful for writing foreach (1..10) loops and for doing slice operations on arrays. In the current implementation, no temporary array is created when the range operator is

AutoSplit - split a package for autoloading

NAME SYNOPSIS DESCRIPTIONMultiple packages DIAGNOSTICS AUTHOR COPYRIGHT AND LICENSE NAME AutoSplit - split a package for autoloading SYNOPSIS autosplit($file, $dir, $keep, $check, $modtime); autosplit_lib_modules(@modules); DESCRIPTION This function will split up your program into files that the AutoLoader module can handle. It is used by both the standard perl libraries and by the MakeMaker utility, to automatically configure libraries for autoloading. The autosplit interface splits the s

gethostbyname

gethostbyname NAME

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

TAP::Parser::YAMLish::Writer - Write YAMLish data

NAME VERSION SYNOPSIS DESCRIPTION METHODSClass Methods Instance Methods AUTHOR SEE ALSO COPYRIGHT NAME TAP::Parser::YAMLish::Writer - Write YAMLish data VERSION Version 3.35 SYNOPSIS use TAP::Parser::YAMLish::Writer; my $data = { one => 1, two => 2, three => [ 1, 2, 3 ], }; my $yw = TAP::Parser::YAMLish::Writer->new; # Write to an array... $yw->write( $data, \@some_array ); # ...an open file handle... $yw->write( $data, $some_file_handle ); # ...a string .

${^TAINT}

${^TAINT} Reflects if taint mode is on or off. 1 for on (the program was run with -T), 0 for off, -1 when only taint warnings are enabled (i.e. with -t or -TU). This variable is read-only. This variable was added in Perl v5.8.0.

Quote-Like Operators

Quote-Like Operators q/STRING/ 'STRING' A single-quoted, literal string. A backslash represents a backslash unless followed by the delimiter or another backslash, in which case the delimiter or backslash is interpolated. $foo = q!I said, "You said, 'She said it.'"!; $bar = q('This is it.'); $baz = '\n'; # a two-character string qq/STRING/ "STRING" A double-quoted, interpolated string. $_ .= qq (*** The previous line contains the naughty word "$1".\n) if /\b(tcl|java|python

perlrepository - Links to current information on the Perl source repository

NAME DESCRIPTION NAME perlrepository - Links to current information on the Perl source repository DESCRIPTION Perl's source code is stored in a Git repository. See perlhack for an explanation of Perl development, including the Super Quick Patch Guide for making and submitting a small patch. See perlgit for detailed information about Perl's Git repository. (The above documents supersede the information that was formerly here in perlrepository.)

Binding Operators

Binding Operators Binary "=~" binds a scalar expression to a pattern match. Certain operations search or modify the string $_ by default. This operator makes that kind of operation work on some other string. The right argument is a search pattern, substitution, or transliteration. The left argument is what is supposed to be searched, substituted, or transliterated instead of the default $_ . When used in scalar context, the return value generally indicates the success of the operation. The exc

Math::BigInt::Calc - Pure Perl module to support Math::BigInt

NAME SYNOPSIS DESCRIPTION THE Math::BigInt APIGeneral Notes API version 1 API version 2 API optional methods WRAP YOUR OWN BUGS SUPPORT LICENSE AUTHORS SEE ALSO NAME Math::BigInt::Calc - Pure Perl module to support Math::BigInt SYNOPSIS This library provides support for big integer calculations. It is not intended to be used by other modules. Other modules which support the same API (see below) can also be used to support Math::BigInt, like Math::BigInt::GMP and Math::BigInt::Pari. DESCRIPT