23

Why Use Perl?
Correctness/Compilation Pass

  • Perl fully parses and pre-"compiles" your script before execution

    • Effectively eliminates the potential for runtime SYNTAX errors

  • Perl also has command-line options to do checking WITHOUT execution

    • Check syntax (perl -c)

    • Check sanity (perl -w)