=head2 Pragmatic Modules They work somewhat like compiler directives (pragmata) in that they tend to affect the compilation of your program, and thus will usually work well only when used within a C, or C. Most of these are lexically scoped, so an inner BLOCK may countermand them by saying: no integer; no strict 'refs'; no warnings; which lasts until the end of that BLOCK. Some pragmas are lexically scoped--typically those that affect the C<$^H> hints variable. Others affect the current package instead, like C and C, which allow you to predeclare a variables or subroutines within a particular I rather than just a block. Such declarations are effective for the entire file for which they were declared. You cannot rescind them with C or C. The following pragmas are defined (and have their own documentation). =over 12 =item * B<<< L<< attributes >> >>> - Get/set subroutine or variable attributes =item * B<<< L<< attrs >> >>> - Set/get attributes of a subroutine (deprecated) =item * B<<< L<< autouse >> >>> - Postpone load of modules until a function is used =item * B<<< L<< base >> >>> - Establish IS-A relationship with base class at compile time =item * B<<< L<< bigint >> >>> - Transparent big integer support for Perl =item * B<<< L<< bignum >> >>> - Transparent BigNumber support for Perl =item * B<<< L<< bigrat >> >>> - Transparent BigNumber/BigRational support for Perl =item * B<<< L<< blib >> >>> - Use MakeMaker's uninstalled version of a package =item * B<<< L<< bytes >> >>> - Force byte semantics rather than character semantics =item * B<<< L<< charnames >> >>> - Define character names for C<\N{named}> string literal escapes =item * B<<< L<< constant >> >>> - Declare constants =item * B<<< L<< diagnostics >> >>> - Perl compiler pragma to force verbose warning diagnostics =item * B<<< L<< encoding >> >>> - Allows you to write your script in non-ascii or non-utf8 =item * B<<< L<< fields >> >>> - Compile-time class fields =item * B<<< L<< filetest >> >>> - Control the filetest permission operators =item * B<<< L<< if >> >>> - C a Perl module if a condition holds =item * B<<< L<< integer >> >>> - Use integer arithmetic instead of floating point =item * B<<< L<< less >> >>> - Request less of something from the compiler =item * B<<< L<< locale >> >>> - Use and avoid POSIX locales for built-in operations =item * B<<< L<< open >> >>> - Set default PerlIO layers for input and output =item * B<<< L<< ops >> >>> - Restrict unsafe operations when compiling =item * B<<< L<< overload >> >>> - Package for overloading perl operations =item * B<<< L<< re >> >>> - Alter regular expression behaviour =item * B<<< L<< sigtrap >> >>> - Enable simple signal handling =item * B<<< L<< sort >> >>> - Control sort() behaviour =item * B<<< L<< strict >> >>> - Restrict unsafe constructs =item * B<<< L<< subs >> >>> - Predeclare sub names =item * B<<< L<< threads >> >>> - Perl extension allowing use of interpreter based threads from perl =item * B<<< L<< utf8 >> >>> - Enable/disable UTF-8 (or UTF-EBCDIC) in source code =item * B<<< L<< vars >> >>> - Predeclare global variable names (obsolete) =item * B<<< L<< vmsish >> >>> - Control VMS-specific language features =item * B<<< L<< warnings >> >>> - Control optional warnings =item * B<<< L<< warnings::register >> >>> - Warnings import function =back =head2 Standard Modules Standard, bundled modules are all expected to behave in a well-defined manner with respect to namespace pollution because they use the Exporter module. See their own documentation for details. =over 12 =item * B<<< L<< AnyDBM_File >> >>> - Provide framework for multiple DBMs =item * B<<< L<< Attribute::Handlers >> >>> - Simpler definition of attribute handlers =item * B<<< L<< AutoLoader >> >>> - Load subroutines only on demand =item * B<<< L<< AutoSplit >> >>> - Split a package for autoloading =item * B<<< L<< B >> >>> - The Perl Compiler =item * B<<< L<< B::Asmdata >> >>> - Autogenerated data about Perl ops, used to generate bytecode =item * B<<< L<< B::Assembler >> >>> - Assemble Perl bytecode =item * B<<< L<< B::Bblock >> >>> - Walk basic blocks =item * B<<< L<< B::Bytecode >> >>> - Perl compiler's bytecode backend =item * B<<< L<< B::C >> >>> - Perl compiler's C backend =item * B<<< L<< B::CC >> >>> - Perl compiler's optimized C translation backend =item * B<<< L<< B::Concise >> >>> - Walk Perl syntax tree, printing concise info about ops =item * B<<< L<< B::Debug >> >>> - Walk Perl syntax tree, printing debug info about ops =item * B<<< L<< B::Deparse >> >>> - Perl compiler backend to produce perl code =item * B<<< L<< B::Disassembler >> >>> - Disassemble Perl bytecode =item * B<<< L<< B::Lint >> >>> - Perl lint =item * B<<< L<< B::Showlex >> >>> - Show lexical variables used in functions or files =item * B<<< L<< B::Stackobj >> >>> - Helper module for CC backend =item * B<<< L<< B::Stash >> >>> - Show what stashes are loaded =item * B<<< L<< B::Terse >> >>> - Walk Perl syntax tree, printing terse info about ops =item * B<<< L<< B::Xref >> >>> - Generates cross reference reports for Perl programs =item * B<<< L<< Benchmark >> >>> - Benchmark running times of Perl code =item * B<<< L<< ByteLoader >> >>> - Load byte compiled perl code =item * B<<< L<< CGI >> >>> - Simple Common Gateway Interface Class =item * B<<< L<< CGI::Apache >> >>> - Backward compatibility module for CGI.pm =item * B<<< L<< CGI::Carp >> >>> - CGI routines for writing to the HTTPD (or other) error log =item * B<<< L<< CGI::Cookie >> >>> - Interface to Netscape Cookies =item * B<<< L<< CGI::Fast >> >>> - CGI Interface for Fast CGI =item * B<<< L<< CGI::Pretty >> >>> - Module to produce nicely formatted HTML code =item * B<<< L<< CGI::Push >> >>> - Simple Interface to Server Push =item * B<<< L<< CGI::Switch >> >>> - Backward compatibility module for defunct CGI::Switch =item * B<<< L<< CGI::Util >> >>> - Internal utilities used by CGI module =item * B<<< L<< CPAN >> >>> - Query, download and build perl modules from CPAN sites =item * B<<< L<< CPAN::FirstTime >> >>> - Utility for CPAN::Config file Initialization =item * B<<< L<< CPAN::Nox >> >>> - Wrapper around CPAN.pm without using any XS module =item * B<<< L<< Carp >> >>> - Warn of errors (from perspective of caller) =item * B<<< L<< Carp::Heavy >> >>> - No user serviceable parts inside =item * B<<< L<< Class::ISA >> >>> - Report the search path for a class's ISA tree =item * B<<< L<< Class::Struct >> >>> - Declare struct-like datatypes as Perl classes =item * B<<< L<< Config >> >>> - Access Perl configuration information =item * B<<< L<< Cwd >> >>> - Get pathname of current working directory =item * B<<< L<< DB >> >>> - Programmatic interface to the Perl debugging API (draft, subject to =item * B<<< L<< DB_File >> >>> - Perl5 access to Berkeley DB version 1.x =item * B<<< L<< Devel::SelfStubber >> >>> - Generate stubs for a SelfLoading module =item * B<<< L<< Digest >> >>> - Modules that calculate message digests =item * B<<< L<< DirHandle >> >>> - Supply object methods for directory handles =item * B<<< L<< Dumpvalue >> >>> - Provides screen dump of Perl data. =item * B<<< L<< Encode >> >>> - Character encodings =item * B<<< L<< English >> >>> - Use nice English (or awk) names for ugly punctuation variables =item * B<<< L<< Env >> >>> - Perl module that imports environment variables as scalars or arrays =item * B<<< L<< Errno >> >>> - System errno constants =item * B<<< L<< Exporter >> >>> - Implements default import method for modules =item * B<<< L<< Exporter::Heavy >> >>> - Exporter guts =item * B<<< L<< ExtUtils::Command >> >>> - Utilities to replace common UNIX commands in Makefiles etc. =item * B<<< L<< ExtUtils::Command::MM >> >>> - Commands for the MM's to use in Makefiles =item * B<<< L<< ExtUtils::Constant >> >>> - Generate XS code to import C header constants =item * B<<< L<< ExtUtils::Embed >> >>> - Utilities for embedding Perl in C/C++ applications =item * B<<< L<< ExtUtils::Install >> >>> - Install files from here to there =item * B<<< L<< ExtUtils::Installed >> >>> - Inventory management of installed modules =item * B<<< L<< ExtUtils::Liblist >> >>> - Determine libraries to use and how to use them =item * B<<< L<< ExtUtils::MM >> >>> - OS adjusted ExtUtils::MakeMaker subclass =item * B<<< L<< ExtUtils::MM_Any >> >>> - Platform agnostic MM methods =item * B<<< L<< ExtUtils::MM_BeOS >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_Cygwin >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_DOS >> >>> - DOS specific subclass of ExtUtils::MM_Unix =item * B<<< L<< ExtUtils::MM_MacOS >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_NW5 >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_OS2 >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_UWIN >> >>> - U/WIN specific subclass of ExtUtils::MM_Unix =item * B<<< L<< ExtUtils::MM_Unix >> >>> - Methods used by ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_VMS >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_Win32 >> >>> - Methods to override UN*X behaviour in ExtUtils::MakeMaker =item * B<<< L<< ExtUtils::MM_Win95 >> >>> - Method to customize MakeMaker for Win9X =item * B<<< L<< ExtUtils::MY >> >>> - ExtUtils::MakeMaker subclass for customization =item * B<<< L<< ExtUtils::MakeMaker >> >>> - Create an extension Makefile =item * B<<< L<< ExtUtils::Manifest >> >>> - Utilities to write and check a MANIFEST file =item * B<<< L<< ExtUtils::Mkbootstrap >> >>> - Make a bootstrap file for use by DynaLoader =item * B<<< L<< ExtUtils::Mksymlists >> >>> - Write linker options files for dynamic extension =item * B<<< L<< ExtUtils::Packlist >> >>> - Manage .packlist files =item * B<<< L<< ExtUtils::testlib >> >>> - Add blib/* directories to @INC =item * B<<< L<< Fatal >> >>> - Replace functions with equivalents which succeed or die =item * B<<< L<< Fcntl >> >>> - Load the C Fcntl.h defines =item * B<<< L<< File::Basename >> >>> - Split a pathname into pieces =item * B<<< L<< File::CheckTree >> >>> - Run many filetest checks on a tree =item * B<<< L<< File::Compare >> >>> - Compare files or filehandles =item * B<<< L<< File::Copy >> >>> - Copy files or filehandles =item * B<<< L<< File::DosGlob >> >>> - DOS like globbing and then some =item * B<<< L<< File::Find >> >>> - Traverse a directory tree. =item * B<<< L<< File::Path >> >>> - Create or remove directory trees =item * B<<< L<< File::Spec >> >>> - Portably perform operations on file names =item * B<<< L<< File::Spec::Cygwin >> >>> - Methods for Cygwin file specs =item * B<<< L<< File::Spec::Epoc >> >>> - Methods for Epoc file specs =item * B<<< L<< File::Spec::Functions >> >>> - Portably perform operations on file names =item * B<<< L<< File::Spec::Mac >> >>> - File::Spec for Mac OS (Classic) =item * B<<< L<< File::Spec::OS2 >> >>> - Methods for OS/2 file specs =item * B<<< L<< File::Spec::Unix >> >>> - File::Spec for Unix, base for other File::Spec modules =item * B<<< L<< File::Spec::VMS >> >>> - Methods for VMS file specs =item * B<<< L<< File::Spec::Win32 >> >>> - Methods for Win32 file specs =item * B<<< L<< File::Temp >> >>> - Return name and handle of a temporary file safely =item * B<<< L<< File::stat >> >>> - By-name interface to Perl's built-in stat() functions =item * B<<< L<< FileCache >> >>> - Keep more files open than the system permits =item * B<<< L<< FileHandle >> >>> - Supply object methods for filehandles =item * B<<< L<< Filter::Simple >> >>> - Simplified source filtering =item * B<<< L<< FindBin >> >>> - Locate directory of original perl script =item * B<<< L<< Getopt::Long >> >>> - Extended processing of command line options =item * B<<< L<< Getopt::Std >> >>> - Process single-character switches with switch clustering =item * B<<< L<< Hash::Util >> >>> - A selection of general-utility hash subroutines =item * B<<< L<< I18N::Collate >> >>> - Compare 8-bit scalar data according to the current locale =item * B<<< L<< I18N::LangTags >> >>> - Functions for dealing with RFC3066-style language tags =item * B<<< L<< I18N::LangTags::List >> >>> - Tags and names for human languages =item * B<<< L<< IO >> >>> - Load various IO modules =item * B<<< L<< IPC::Open2 >> >>> - Open a process for both reading and writing =item * B<<< L<< IPC::Open3 >> >>> - Open a process for reading, writing, and error handling =item * B<<< L<< Locale::Constants >> >>> - Constants for Locale codes =item * B<<< L<< Locale::Country >> >>> - ISO codes for country identification (ISO 3166) =item * B<<< L<< Locale::Currency >> >>> - ISO three letter codes for currency identification (ISO 4217) =item * B<<< L<< Locale::Language >> >>> - ISO two letter codes for language identification (ISO 639) =item * B<<< L<< Locale::Maketext >> >>> - Framework for localization =item * B<<< L<< Locale::Maketext::TPJ13 >> >>> - Article about software localization =item * B<<< L<< Locale::Script >> >>> - ISO codes for script identification (ISO 15924) =item * B<<< L<< Math::BigFloat >> >>> - Arbitrary size floating point math package =item * B<<< L<< Math::BigInt >> >>> - Arbitrary size integer math package =item * B<<< L<< Math::BigInt::Calc >> >>> - Pure Perl module to support Math::BigInt =item * B<<< L<< Math::BigRat >> >>> - Arbitrarily big rationals =item * B<<< L<< Math::Complex >> >>> - Complex numbers and associated mathematical functions =item * B<<< L<< Math::Trig >> >>> - Trigonometric functions =item * B<<< L<< Memoize >> >>> - Make functions faster by trading space for time =item * B<<< L<< Memoize::AnyDBM_File >> >>> - Glue to provide EXISTS for AnyDBM_File for Storable use =item * B<<< L<< Memoize::Expire >> >>> - Plug-in module for automatic expiration of memoized values =item * B<<< L<< Memoize::ExpireFile >> >>> - Test for Memoize expiration semantics =item * B<<< L<< Memoize::ExpireTest >> >>> - Test for Memoize expiration semantics =item * B<<< L<< Memoize::NDBM_File >> >>> - Glue to provide EXISTS for NDBM_File for Storable use =item * B<<< L<< Memoize::SDBM_File >> >>> - Glue to provide EXISTS for SDBM_File for Storable use =item * B<<< L<< Memoize::Storable >> >>> - Store Memoized data in Storable database =item * B<<< L<< NDBM_File >> >>> - Tied access to ndbm files =item * B<<< L<< NEXT >> >>> - Provide a pseudo-class NEXT that allows method redispatch =item * B<<< L<< Net::Cmd >> >>> - Network Command class (as used by FTP, SMTP etc) =item * B<<< L<< Net::Config >> >>> - Local configuration data for libnet =item * B<<< L<< Net::Domain >> >>> - Attempt to evaluate the current host's internet name and domain =item * B<<< L<< Net::FTP >> >>> - FTP Client class =item * B<<< L<< Net::NNTP >> >>> - NNTP Client class =item * B<<< L<< Net::Netrc >> >>> - OO interface to users netrc file =item * B<<< L<< Net::POP3 >> >>> - Post Office Protocol 3 Client class (RFC1939) =item * B<<< L<< Net::Ping >> >>> - Check a remote host for reachability =item * B<<< L<< Net::SMTP >> >>> - Simple Mail Transfer Protocol Client =item * B<<< L<< Net::Time >> >>> - Time and daytime network client interface =item * B<<< L<< Net::hostent >> >>> - By-name interface to Perl's built-in gethost*() functions =item * B<<< L<< Net::libnetFAQ >> >>> - Libnet Frequently Asked Questions =item * B<<< L<< Net::netent >> >>> - By-name interface to Perl's built-in getnet*() functions =item * B<<< L<< Net::protoent >> >>> - By-name interface to Perl's built-in getproto*() functions =item * B<<< L<< Net::servent >> >>> - By-name interface to Perl's built-in getserv*() functions =item * B<<< L<< O >> >>> - Generic interface to Perl Compiler backends =item * B<<< L<< ODBM_File >> >>> - Tied access to odbm files =item * B<<< L<< Opcode >> >>> - Disable named opcodes when compiling perl code =item * B<<< L<< POSIX >> >>> - Perl interface to IEEE Std 1003.1 =item * B<<< L<< PerlIO >> >>> - On demand loader for PerlIO layers and root of PerlIO::* name space =item * B<<< L<< PerlIO::via::QuotedPrint >> >>> - PerlIO layer for quoted-printable strings =item * B<<< L<< Pod::Checker >> >>> - Check pod documents for syntax errors =item * B<<< L<< Pod::Find >> >>> - Find POD documents in directory trees =item * B<<< L<< Pod::Functions >> >>> - Group Perl's functions a la perlfunc.pod =item * B<<< L<< Pod::Html >> >>> - Module to convert pod files to HTML =item * B<<< L<< Pod::InputObjects >> >>> - Objects representing POD input paragraphs, commands, etc. =item * B<<< L<< Pod::LaTeX >> >>> - Convert Pod data to formatted Latex =item * B<<< L<< Pod::Man >> >>> - Convert POD data to formatted *roff input =item * B<<< L<< Pod::ParseLink >> >>> - Parse an LEE formatting code in POD text =item * B<<< L<< Pod::ParseUtils >> >>> - Helpers for POD parsing and conversion =item * B<<< L<< Pod::Parser >> >>> - Base class for creating POD filters and translators =item * B<<< L<< Pod::Plainer >> >>> - Perl extension for converting Pod to old style Pod. =item * B<<< L<< Pod::Select >> >>> - Extract selected sections of POD from input =item * B<<< L<< Pod::Text >> >>> - Convert POD data to formatted ASCII text =item * B<<< L<< Pod::Text::Color >> >>> - Convert POD data to formatted color ASCII text =item * B<<< L<< Pod::Text::Overstrike >> >>> - Convert POD data to formatted overstrike text =item * B<<< L<< Pod::Text::Termcap >> >>> - Convert POD data to ASCII text with format escapes =item * B<<< L<< Pod::Usage >> >>> - Print a usage message from embedded pod documentation =item * B<<< L<< SDBM_File >> >>> - Tied access to sdbm files =item * B<<< L<< Safe >> >>> - Compile and execute code in restricted compartments =item * B<<< L<< Search::Dict >> >>> - Search for key in dictionary file =item * B<<< L<< SelectSaver >> >>> - Save and restore selected file handle =item * B<<< L<< SelfLoader >> >>> - Load functions only on demand =item * B<<< L<< Shell >> >>> - Run shell commands transparently within perl =item * B<<< L<< Socket >> >>> - Load the C socket.h defines and structure manipulators =item * B<<< L<< Storable >> >>> - Persistence for Perl data structures =item * B<<< L<< Switch >> >>> - A switch statement for Perl =item * B<<< L<< Symbol >> >>> - Manipulate Perl symbols and their names =item * B<<< L<< Term::ANSIColor >> >>> - Color screen output using ANSI escape sequences =item * B<<< L<< Term::Cap >> >>> - Perl termcap interface =item * B<<< L<< Term::Complete >> >>> - Perl word completion module =item * B<<< L<< Term::ReadLine >> >>> - Perl interface to various C packages. If =item * B<<< L<< Test >> >>> - Provides a simple framework for writing test scripts =item * B<<< L<< Test::Builder >> >>> - Backend for building test libraries =item * B<<< L<< Test::Harness >> >>> - Run perl standard test scripts with statistics =item * B<<< L<< Test::Harness::Assert >> >>> - Simple assert =item * B<<< L<< Test::Harness::Iterator >> >>> - Internal Test::Harness Iterator =item * B<<< L<< Test::Harness::Straps >> >>> - Detailed analysis of test results =item * B<<< L<< Test::More >> >>> - Yet another framework for writing test scripts =item * B<<< L<< Test::Simple >> >>> - Basic utilities for writing tests. =item * B<<< L<< Test::Tutorial >> >>> - A tutorial about writing really basic tests =item * B<<< L<< Text::Abbrev >> >>> - Create an abbreviation table from a list =item * B<<< L<< Text::Balanced >> >>> - Extract delimited text sequences from strings. =item * B<<< L<< Text::ParseWords >> >>> - Parse text into an array of tokens or array of arrays =item * B<<< L<< Text::Soundex >> >>> - Implementation of the Soundex Algorithm as Described by Knuth =item * B<<< L<< Text::Tabs >> >>> - Expand and unexpand tabs per the unix expand(1) and unexpand(1) =item * B<<< L<< Text::Wrap >> >>> - Line wrapping to form simple paragraphs =item * B<<< L<< Thread >> >>> - Manipulate threads in Perl (for old code only) =item * B<<< L<< Thread::Queue >> >>> - Thread-safe queues =item * B<<< L<< Thread::Semaphore >> >>> - Thread-safe semaphores =item * B<<< L<< Tie::Array >> >>> - Base class for tied arrays =item * B<<< L<< Tie::File >> >>> - Access the lines of a disk file via a Perl array =item * B<<< L<< Tie::Handle >> >>> - Base class definitions for tied handles =item * B<<< L<< Tie::Hash >> >>> - Base class definitions for tied hashes =item * B<<< L<< Tie::Memoize >> >>> - Add data to hash when needed =item * B<<< L<< Tie::RefHash >> >>> - Use references as hash keys =item * B<<< L<< Tie::Scalar >> >>> - Base class definitions for tied scalars =item * B<<< L<< Tie::SubstrHash >> >>> - Fixed-table-size, fixed-key-length hashing =item * B<<< L<< Time::Local >> >>> - Efficiently compute time from local and GMT time =item * B<<< L<< Time::gmtime >> >>> - By-name interface to Perl's built-in gmtime() function =item * B<<< L<< Time::localtime >> >>> - By-name interface to Perl's built-in localtime() function =item * B<<< L<< Time::tm >> >>> - Internal object used by Time::gmtime and Time::localtime =item * B<<< L<< UNIVERSAL >> >>> - Base class for ALL classes (blessed references) =item * B<<< L<< Unicode::Collate >> >>> - Unicode Collation Algorithm =item * B<<< L<< Unicode::UCD >> >>> - Unicode character database =item * B<<< L<< User::grent >> >>> - By-name interface to Perl's built-in getgr*() functions =item * B<<< L<< User::pwent >> >>> - By-name interface to Perl's built-in getpw*() functions =item * B<<< L<< Win32 >> >>> - Interfaces to some Win32 API Functions =back