Perl 101
The Anatomy of a Camel
Douglas E. Miles
- What is Perl?
- "Practical Extraction and Report Language"
- "Pathologically Eclectic Rubbish Lister"
- The Swiss Army Chainsaw
- Eclectic - C, sed, awk, sh, csh, Pascal, BASIC-PLUS, FORTRAN
- Eclectic
- 1 : selecting what appears to be best in various doctrines, methods, or styles 2 : composed of elements drawn from various sources;
- Data Types ($@%)
- Scalars ($)
- Lists and Arrays (@)
- Hashes (%)
- Control Structures
- Statement/Code block
- if/elsif/else/unless
- while/until, do while/until
- for/foreach
- Basic IO
- STDIN, STDOUT, STDERR
- Diamond Operator (<>)
- print and printf
- Functions (&)
- Arguments
- Return Values
- CPAN
-
Comprehensive Perl Archive Network - http://www.perl.com/CPAN/
- perl -MCPAN -e shell
- References
- Learning Perl (The Llama)
- Programming Perl (The Camel)
- The Perl man pages