cos

cos EXPR cos Returns the cosine of EXPR (expressed in radians). If EXPR is omitted, takes the cosine of $_ . For the inverse cosine operation, you may use the Math::Trig::acos() function, or use this relation: sub acos { atan2( sqrt(1 - $_[0] * $_[0]), $_[0] ) }

corelist - a commandline frontend to Module::CoreList

NAME DESCRIPTION SYNOPSIS OPTIONS EXAMPLES COPYRIGHT NAME corelist - a commandline frontend to Module::CoreList DESCRIPTION See Module::CoreList for one. SYNOPSIS corelist -v corelist [-a|-d] <ModuleName> | /<ModuleRegex>/ [<ModuleVersion>] ... corelist [-v <PerlVersion>] [ <ModuleName> | /<ModuleRegex>/ ] ... corelist [-r <PerlVersion>] ... corelist --feature <FeatureName> [<FeatureName>] ... corelist --diff PerlVersion PerlVersion coreli

cpan - easily interact with CPAN from the command line

NAME SYNOPSIS DESCRIPTIONOptions Examples ENVIRONMENT VARIABLES EXIT VALUES TO DO BUGS SEE ALSO SOURCE AVAILABILITY CREDITS AUTHOR COPYRIGHT NAME cpan - easily interact with CPAN from the command line SYNOPSIS # with arguments and no switches, installs specified modules cpan module_name [ module_name ... ] # with switches, installs modules with extra behavior cpan [-cfgimtTw] module_name [ module_name ... ] # with just the dot, install from the distribution in the # current directory cpan

CORE - Namespace for Perl's core routines

NAME SYNOPSIS DESCRIPTION OVERRIDING CORE FUNCTIONS AUTHOR SEE ALSO NAME CORE - Namespace for Perl's core routines SYNOPSIS BEGIN { *CORE::GLOBAL::hex = sub { 1; }; } print hex("0x50"),"\n"; # prints 1 print CORE::hex("0x50"),"\n"; # prints 80 CORE::say "yes"; # prints yes BEGIN { *shove = \&CORE::push; } shove @array, 1,2,3; # pushes on to @array DESCRIPTION The CORE namespace gives access to the original built-in functions of Perl. The CORE package is built into Perl, and

continue

continue BLOCK continue When followed by a BLOCK, continue is actually a flow control statement rather than a function. If there is a continue BLOCK attached to a BLOCK (typically in a while or foreach ), it is always executed just before the conditional is about to be evaluated again, just like the third part of a for loop in C. Thus it can be used to increment a loop variable, even when the loop has been continued via the next statement (which is similar to the C continue statement). last, ne

Constant Folding

Constant Folding Like C, Perl does a certain amount of expression evaluation at compile time whenever it determines that all arguments to an operator are static and have no side effects. In particular, string concatenation happens at compile time between literals that don't do variable substitution. Backslash interpolation also happens at compile time. You can say 'Now is the time for all' . "\n" . 'good men to come to.' and this all reduces to one string internally. Likewise, if you say

constant - Perl pragma to declare constants

NAME SYNOPSIS DESCRIPTION NOTESList constants Defining multiple constants at once Magic constants TECHNICAL NOTES CAVEATS SEE ALSO BUGS AUTHORS COPYRIGHT & LICENSE NAME constant - Perl pragma to declare constants SYNOPSIS use constant PI => 4 * atan2(1, 1); use constant DEBUG => 0; print "Pi equals ", PI, "...\n" if DEBUG; use constant { SEC => 0, MIN => 1, HOUR => 2, MDAY => 3, MON => 4, YEAR => 5, WDAY => 6, YDA

connect

connect SOCKET,NAME Attempts to connect to a remote socket, just like connect(2). Returns true if it succeeded, false otherwise. NAME should be a packed address of the appropriate type for the socket. See the examples in Sockets: Client/Server Communication in perlipc.

Config::Extensions

SYNOPSIS DESCRIPTION AUTHOR SYNOPSIS use Config::Extensions '%Extensions'; if ($Extensions{PerlIO::via}) { # This perl has PerlIO::via built } DESCRIPTION The Config::Extensions module provides a hash %Extensions containing all the core extensions that were enabled for this perl. The hash is keyed by extension name, with each entry having one of 3 possible values: dynamic The extension is dynamically linked nonxs The extension is pure perl, so doesn't need linking to the perl executab

Config - access Perl configuration information

NAME SYNOPSIS DESCRIPTION EXAMPLE WARNING GLOSSARY_ a b c d e f g h i k l m n o p P q r s t u v x y z GIT DATA NOTE NAME Config - access Perl configuration information SYNOPSIS use Config; if ($Config{usethreads}) { print "has thread support\n" } use Config qw(myconfig config_sh config_vars config_re); print myconfig(); print config_sh(); print config_re(); config_vars(qw(osname archname)); DESCRIPTION The Config module contains all the information that was av