Perl Cheat Sheet Page 2

ADVERTISEMENT

Contents
: : : : : : : : : : : : : : : : : :
1. Command line options
3
: : : : : : : : : : : : : : : : : : : : : : : : : :
2. Syntax
4
: : : : : : : : : : : : : : : : : : : : : : : : :
3. Variables
4
: : : : : : : : : : : : : : : : : : : : : : : : : :
4. Literals
5
: : : : : : : : : : : : : : : :
5. Operators and precedence
6
: : : : : : : : : : : : : : : : : : : : : : : :
6. Statements
7
: : : : : : : : : : :
7. Subroutines, packages and modules
7
: : : : : : : : : : : : : : : : : : : :
8. Pragmatic modules
9
: : : : : : : : : : : : : :
9. Object oriented programming
10
: : : : : : : : : : : : : : : : : : :
10. Arithmetic functions
10
: : : : : : : : : : : : : : : : : : :
11. Conversion functions
11
: : : : : : : : : : : : : : : : : : :
12. Structure conversion
11
: : : : : : : : : : : : : : : : : : : : :
13. String functions
12
: : : : : : : : : : : : : : : : :
14. Array and hash functions
12
: : : : : : : : : : : : : : : : : : :
15. Regular expressions
14
: : : : : : : : : : : : : : :
16. Search and replace functions
15
: : : : : : : : : : : : : : : : : : : :
17. File test operators
16
: : : : : : : : : : : : : : : : : : : : : :
18. File operations
16
: : : : : : : : : : : : : : : : : : : : : :
19. Input / Output
17
: : : : : : : : : : : : : : : : : : : : : : : : :
20. Formats
19
: : : : : : : : : : : : : : : :
21. Directory reading routines
19
: : : : : : : : : : : : : : : : : : : :
22. System interaction
19
: : : : : : : : : : : : : : : : : : : : : : :
23. Networking
21
: : : : : : : : : : : : : : : : : : : : : : :
24. SystemV IPC
21
: : : : : : : : : : : : : : : : : : : : : :
25. Miscellaneous
22
: : : : : : : : : : : : : :
26. Information from system files
23
: : : : : : : : : : : : : : : : : : : : :
27. Special variables
24
: : : : : : : : : : : : : : : : : : : : : :
28. Special arrays
25
: : : : : : : : : : : : : : : : : : : :
29. Standard modules
26
: : : : : : : : : : : : : : : : : :
30. Environment variables
30
: : : : : : : : : : : : : : : : : : : :
31. The perl debugger
30
Conventions
denotes text that you enter literally.
fixed
means variable text, i.e. things you must fill in.
THIS
y
THIS
means that
THIS
will default to $_ if omitted.
word
is a keyword, i.e. a word with a special meaning.
RET
denotes pressing a keyboard key.
[. . . ]
denotes an optional part.
2

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education