Logical or and Exclusive Or

Logical or and Exclusive Or Binary "or" returns the logical disjunction of the two surrounding expressions. It's equivalent to || except for the very low precedence. This makes it useful for control flow: print FH $data or die "Can't write to FH: $!"; This means that it short-circuits: the right expression is evaluated only if the left expression is false. Due to its precedence, you must be careful to avoid using it as replacement for the || operator. It usually works out better for flow con

User::pwent - by-name interface to Perl's built-in getpw*() functions

NAME SYNOPSIS DESCRIPTIONSystem Specifics NOTE AUTHOR HISTORY NAME User::pwent - by-name interface to Perl's built-in getpw*() functions SYNOPSIS use User::pwent; $pw = getpwnam('daemon') || die "No daemon user"; if ( $pw->uid == 1 && $pw->dir =~ m#^/(bin|tmp)?\z#s ) { print "gid 1 on root dir"; } $real_shell = $pw->shell || '/bin/sh'; for (($fullname, $office, $workphone, $homephone) = split /\s*,\s*/, $pw->gecos) { s/&/ucfirst(lc($pw->name))

Compress::Raw::Bzip2 - Low-Level Interface to bzip2 compression library

NAME SYNOPSIS DESCRIPTION Compression($z, $status) = new Compress::Raw::Bzip2 $appendOutput, $blockSize100k, $workfactor; $status = $bz->bzdeflate($input, $output); $status = $bz->bzflush($output); $status = $bz->bzclose($output); Example Uncompression($z, $status) = new Compress::Raw::Bunzip2 $appendOutput, $consumeInput, $small, $verbosity, $limitOutput; $status = $z->bzinflate($input, $output); Miscmy $version = Compress::Raw::Bzip2::bzlibversion(); Constants SEE ALSO AUTHOR

perlmod - Perl modules (packages and symbol tables)

NAME DESCRIPTIONIs this the document you were after? Packages Symbol Tables BEGIN, UNITCHECK, CHECK, INIT and END Perl Classes Perl Modules Making your module threadsafe SEE ALSO NAME perlmod - Perl modules (packages and symbol tables) DESCRIPTION Is this the document you were after? There are other documents which might contain the information that you're looking for: This doc Perl's packages, namespaces, and some info on classes. perlnewmod Tutorial on making a new module. perl

ExtUtils::Constant - generate XS code to import C header constants

NAME SYNOPSIS DESCRIPTION USAGE FUNCTIONS AUTHOR NAME ExtUtils::Constant - generate XS code to import C header constants SYNOPSIS use ExtUtils::Constant qw (WriteConstants); WriteConstants( NAME => 'Foo', NAMES => [qw(FOO BAR BAZ)], ); # Generates wrapper code to make the values of the constants FOO BAR BAZ # available to perl DESCRIPTION ExtUtils::Constant facilitates generating C and XS wrapper code to allow perl modules to AUTOLOAD constants defined in C library header file

getgrent

getgrent

Locale::Maketext - framework for localization

NAME SYNOPSIS DESCRIPTION QUICK OVERVIEW METHODSConstruction Methods The "maketext" Method Utility Methods Language Handle Attributes and Internals LANGUAGE CLASS HIERARCHIES ENTRIES IN EACH LEXICON BRACKET NOTATION AUTO LEXICONS READONLY LEXICONS CONTROLLING LOOKUP FAILURE HOW TO USE MAKETEXT SEE ALSO COPYRIGHT AND DISCLAIMER AUTHOR NAME Locale::Maketext - framework for localization SYNOPSIS package MyProgram; use strict; use MyProgram::L10N; # ...which inherits from Locale::Maketext my $

${^PREMATCH}

${^PREMATCH} This is similar to $` ($PREMATCH) except that it does not incur the performance penalty associated with that variable. See Performance issues above. In Perl v5.18 and earlier, it is only guaranteed to return a defined value when the pattern was compiled or executed with the /p modifier. In Perl v5.20, the /p modifier does nothing, so ${^PREMATCH} does the same thing as $PREMATCH . This variable was added in Perl v5.10.0. This variable is read-only and dynamically-scoped.

perlnewmod - preparing a new module for distribution

NAME DESCRIPTIONWarning What should I make into a module? Step-by-step: Preparing the ground Step-by-step: Making the module Step-by-step: Distributing your module AUTHOR SEE ALSO NAME perlnewmod - preparing a new module for distribution DESCRIPTION This document gives you some suggestions about how to go about writing Perl modules, preparing them for distribution, and making them available via CPAN. One of the things that makes Perl really powerful is the fact that Perl hackers tend to wan

getpwnam

getpwnam NAME