Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# Pragmas

Perl 5 version 10.1 documentation
Go to top

# Pragmas

- attributes - get/set subroutine or variable attributes
- attrs - set/get attributes of a subroutine (deprecated)
- autodie - Replace functions with ones that succeed or die with lexical scope
- autouse - postpone load of modules until a function is used
- base - Establish an ISA relationship with base classes at compile time
- bigint - Transparent BigInteger support for Perl
- bignum - Transparent BigNumber support for Perl
- bigrat - Transparent BigNumber/BigRational support for Perl
- blib - Use MakeMaker's uninstalled version of a package
- bytes - Perl pragma to force byte semantics rather than character semantics
- charnames - define character names for \N{named} string literal escapes
- constant - Perl pragma to declare constants
- diagnostics - produce verbose warning diagnostics
- encoding - allows you to write your script in non-ascii or non-utf8
- feature - Perl pragma to enable new syntactic features
- fields - compile-time class fields
- filetest - Perl pragma to control the filetest permission operators
- if - use a Perl module if a condition holds
- integer - Perl pragma to use integer arithmetic instead of floating point
- less - perl pragma to request less of something
- lib - manipulate @INC at compile time
- locale - Perl pragma to use and avoid POSIX locales for built-in operations
- mro - Method Resolution Order
- open - perl pragma to set default PerlIO layers for input and output
- ops - Perl pragma to restrict unsafe operations when compiling
- overload - Package for overloading Perl operations
- overloading - perl pragma to lexically control overloading
- parent - Establish an ISA relationship with base classes at compile time
- re - Perl pragma to alter regular expression behaviour
- sigtrap - Perl pragma to enable simple signal handling
- sort - perl pragma to control sort() behaviour
- strict - Perl pragma to restrict unsafe constructs
- subs - Perl pragma to predeclare sub names
- threads - Perl interpreter-based threads
- threads::shared - Perl extension for sharing data structures between threads
- utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source code
- vars - Perl pragma to predeclare global variable names (obsolete)
- vmsish - Perl pragma to control VMS-specific language features
- warnings - Perl pragma to control optional warnings
- warnings::register - warnings import function

Recently read

Tools

- Preferences