
| Contents |
|||||||||||||||||||||||||||||
| [an error occurred while processing this directive] |
Conventions Used in this BookIn this text, a variety of conventions are used to explain the material. Certain typographical and display elements are used for didactic purposes.
Any Perl code that is included directly in flowing text appears like
this: When Perl code examples or operating system commands need to be separated away from the flowing text for emphasis, or because the code is long, it appears like this:
my $x = "foo"; # @cc{This is a Perl assignment} print $x, "\n"; # @cc{Print out "foo" and newline}
All Perl code shown in this manner will be valid in Perl, version
Sometimes, it will be necessary to include code that is not valid Perl. In this case, a comment will appear right after the invalid statement indicating that it is not valid, like this:
$x = "foo; # @cc{INVALID: a `"' character is missing} When code that we set aside forms an entire Perl program that is self-contained, and not simply a long example code section, it will appear like this:
#!/usr/bin/perl use warnings; use strict; print "Hello World\n";
Finally, when text is given as possible output that might be given as
error messages when Semicolon seems to be missing syntax error Keep these standards in mind as you read this book.
|