Perl recognizes many options, the most useful are:
- -H displays a help page;
- -D runs the script under the debugger;
- -L automatically adds the line-feed, by adding at the end of each command 'print';
- -V displays the version of the version of perl installed on your machine and exits;
- -W displays some warnings about the script, very useful for finding errors.
All these (and many other options) are documented in "man perl" for perl4, and "man perlrun" for the five (5 perl manpage of the huge divide 4 in about 25 sections) in a Perl script, the hash (#) introduces a comment, and all that comes after it in a line is ignored.
The seams are often useful for himself and for those who read your code: for you for the fact that you can use them as the "notes" for example, remember to do something you've forgotten or left behind, the other for the greater easy to interpret your code, if you will publish your comments inside.
print "Hello worldn" # This is a comment and is ignored, will
# Only run the command "print"