Scalars
 
Numbers
  • By default, computed with double-precision floating-point values
    29/4 == 7.25 , not 7
     
  • You can force integer math with the use integer; pragma
     
  • Can be expressed in decimal, hexadecimal or octal
    255 == 0377 == 0xFF
     
  • Numbers starting with a zero are always seen as octal.
Strings
  • Can contain any data, even the null character (0x00)
     
  • Can be arbitrarily large
     
  • Perl keeps track of size internally
Index
Introduction
What Is Perl?
Perl Resources
Running a Perl Program
Perl Thinking
Data Types
Scalars
Strings: Single Quoted
Strings: Double Quoted
Scalar operations
Scalar comparisons
Variables
Lists
Using Lists
Control Structures
Hashes
Hash Manipulation
File Handling
Regex Matching
Regex Matching: Ex. 1
Regex Matching: Ex. 2
Regex Replacing
Subroutines
Anonymous subs
References
Structures
Modules
Modules: File::Find
Modules: Internet
Modules: Win32::*
Everything Else
  Next page >>>