October 2004
Intermediate to advanced
336 pages
6h 27m
English
Perl acts like an interpreter. You type the source into a file and then tell the Perl program (usually called perl or perl.exe) to execute it. Actually, Perl compiles the program before it runs it, but the user doesn't really notice this. The only difference from a true interpreter is that syntax errors anywhere in the program cause an error before execution starts.
Perl generally treats all white space, including new lines, equally. Blocks of code are enclosed between { and }, and statements usually end with a semicolon (;).
Comments are marked with a # symbol—anything following that symbol on a line is ignored.
Variables do not need to be declared; they can simply be used. Variables that have not ...
Read now
Unlock full access