Production Scripting with Perl
Table of Contents
Table of Contents: small |
med |
large
- Introduction
- Introduction
- About the author - Steve Hwan's Programming Background
- Introduction to Perl
- Useful books and magazines for Perl
- Running Perl - running the examples on this site
- Some Simple Functions - print, system, and exec
- Variable types in Perl - scalars, arrays, hashes
- Control Structures - for, foreach, while, if
- Libraries and deferred code evaluation - sub, use, and eval - summarizing ranges of frames
- Getting input, file handling - @ARGV, <STDIN>, backticks, open
- Regular Expressions - renaming/renumbering files
- Pointers/References and Arbitrary Data Structures - Summarizing ranges of frames
- IN PROGRESS Modules and Objects - grouping subroutines and data structures
- Perl - my idiosyncracies
- About this section
- Avoid Barewords - subroutine calls and quoting
- Be more explicit than you have to - variables, scalar context, using return, and precedence
- Scoping and objects
- Dereferencing scalar references - use -> with arbitrary structures
- Boolean operations - or, and, not
- $|=1; - turning off output buffering
- Variable and subroutine naming conventions
- Perl - Doing it Better
- File Globbing is Evil - rendering RIBs, converting Texture Maps
- Avoiding backticking `pwd`, `find .`, and `mkdir -p`
- Piping to/from a child process without system or backtick - gzipped tar files
- Using eval for regular expressions in loops - Binding a material to a patch
- Using Getopt::Long - processing command line args
- Using Data::Dumper - saving data structures
- Perl Tips and Tricks
- HERE Documents - generating MEL from Perl
- Constants and Typeglob References - Enumerating states or status
- Common additions to @INC - Allowing a development copy of your script
- Setting values in an arbitrary depth hash
- UNWRITTEN functionTables.html
- UNWRITTEN preservingTimeStamps.html
- UNWRITTEN templateFilesVarSubs.html
- Perl Traps
- Typos are valid variable names too
- Assigning regexp results out of list context
- Losing track of references - keep track of what needs to be dereffed
- Not every command has array context.
- It's annoying to keep track of precedence
- Array context is not the same as List context
- Perl Surbroutines Review
- Perl Applications Review
- Appendices
- Bibliography and References
- Hardware - What is a computer?
- UNWRITTEN whatIsAProgram.html
- UNWRITTEN whatIsAnOS.html
© 2001 Steve Hwan,
hostname: @pacbell.net,
username: svhwan
You should probably use the word "PERL" in the subject line
to get my attention.
Last Modified: Sun Dec 2 19:22:05 2001