perlpacktut - tutorial on pack and unpack

NAME DESCRIPTION The Basic Principle Packing Text Packing NumbersIntegers Unpacking a Stack Frame How to Eat an Egg on a Net Byte-order modifiers Floating point Numbers Exotic TemplatesBit Strings Uuencoding Doing Sums Unicode Another Portable Binary Encoding Template Grouping Lengths and WidthsString Lengths Dynamic Templates Counting Repetitions Intel HEX Packing and Unpacking C StructuresThe Alignment Pit Dealing with Endian-ness Alignment, Take 2 Alignment, Take 3 Pointers for How to

Net::Netrc - OO interface to users netrc file

NAME SYNOPSIS DESCRIPTION THE .netrc FILE CONSTRUCTOR METHODS AUTHOR SEE ALSO COPYRIGHT NAME Net::Netrc - OO interface to users netrc file SYNOPSIS use Net::Netrc; $mach = Net::Netrc->lookup('some.machine'); $login = $mach->login; ($login, $password, $account) = $mach->lpa; DESCRIPTION Net::Netrc is a class implementing a simple interface to the .netrc file used as by the ftp program. Net::Netrc also implements security checks just like the ftp program, these checks are, first that

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

$#

$# $# was a variable that could be used to format printed numbers. After a deprecation cycle, its magic was removed in Perl v5.10.0 and using it now triggers a warning: $# is no longer supported. This is not the sigil you use in front of an array name to get the last index, like $#array . That's still how you get the last index of an array in Perl. The two have nothing to do with each other. Deprecated in Perl 5. Removed in Perl v5.10.0.

Tie::StdHandle - base class definitions for tied handles

NAME SYNOPSIS DESCRIPTION NAME Tie::StdHandle - base class definitions for tied handles SYNOPSIS package NewHandle; require Tie::Handle; @ISA = qw(Tie::Handle); sub READ { ... } # Provide a needed method sub TIEHANDLE { ... } # Overrides inherited method package main; tie *FH, 'NewHandle'; DESCRIPTION The Tie::StdHandle package provide most methods for file handles described in perltie (the exceptions are UNTIE and DESTROY ). It causes tied file handles to behave exactly like standard

base - Establish an ISA relationship with base classes at compile time

NAME SYNOPSIS DESCRIPTION DIAGNOSTICS HISTORY CAVEATS SEE ALSO NAME base - Establish an ISA relationship with base classes at compile time SYNOPSIS package Baz; use base qw(Foo Bar); DESCRIPTION Unless you are using the fields pragma, consider this module discouraged in favor of the lighter-weight parent . Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Roughly similar in effect to package Baz; BEGIN { require Foo; requir

while

while These flow-control keywords are documented in Compound Statements in perlsyn.

%ENV

%ENV The hash %ENV contains your current environment. Setting a value in ENV changes the environment for any child processes you subsequently fork() off. As of v5.18.0, both keys and values stored in %ENV are stringified. my $foo = 1; $ENV{'bar'} = \$foo; if( ref $ENV{'bar'} ) { say "Pre 5.18.0 Behaviour"; } else { say "Post 5.18.0 Behaviour"; } Previously, only child processes received stringified values: my $foo = 1; $ENV{'bar'} = \$foo; # Always printed 'non ref' system($^X, '-e',

Locale::Maketext::Guts - Deprecated module to load Locale::Maketext utf8 code

NAME SYNOPSIS DESCRIPTION NAME Locale::Maketext::Guts - Deprecated module to load Locale::Maketext utf8 code SYNOPSIS # Do this instead please use Locale::Maketext DESCRIPTION Previously Local::Maketext::GutsLoader performed some magic to load Locale::Maketext when utf8 was unavailable. The subs this module provided were merged back into Locale::Maketext

Locale::Maketext::GutsLoader - Deprecated module to load Locale::Maketext utf8 code

NAME SYNOPSIS DESCRIPTION NAME Locale::Maketext::GutsLoader - Deprecated module to load Locale::Maketext utf8 code SYNOPSIS # Do this instead please use Locale::Maketext DESCRIPTION Previously Locale::Maketext::Guts performed some magic to load Locale::Maketext when utf8 was unavailable. The subs this module provided were merged back into Locale::Maketext.