Perls Before Swine: Reference
- Web CGIs
- Perls Before Swine
- More Information
- Boolean logic
- In case you’ve forgotten it from high school, here is the table of and, or, and exclusive or:
- Comparison operators
- Perl has two basic types of comparisons: comparisons between text and comparisons between numbers. Remember that Perl doesn’t care whether a variable is text or a number until you use it in a manner that requires it to care.
- Reference: File tests
- There are a number of very useful tests you can perform on files. Remember that you’ll usually want to determine if the file exists first, especially for the tests that return a value such as a file size or age.
- Regular expressions
- Remember that you can add an “i” to the end of a regular expression to make it ignore upper and lower case.
- SilverService
- If you’re using Mac OS X, I can’t recommend SilverService strongly enough. You may be aware that applications can provide services to service-aware software. They’ll show up in the “Services” submenu of every service-aware application’s application menu and can act on that application’s documents.