Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Use constant PI : Pragmas « Language Basics « Perl
Perl
Language Basics
Pragmas
Use constant PI
use constant PI => 4 * atan2 1, 1; print
"Pi = "
, PI;
Related examples in the same category
1.
Debug flag
2.
Syntac of using a module
3.
The diagnostics Pragma
4.
The strict Pragma and Words
5.
The warnings Pragma and the -w Switch