If whitespace does not truly matter, how does the interpreter know when a line ends?
Because its not absolutely true.
Perl is a free-form language, you can format and indent it however you
like. Whitespace mostly serves to separate tokens, unlike languages like
Python where it is an important part of the syntax.
Text from a "#" character until the end of the line is a comment, and is
ignored. Exceptions include "#" inside a string or regular expression.
Comments start with a hash symbol and run to the end of the line
Whitespace is irrelevant:
# This is a comment
|MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"|
|I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).|
|** The third rule of perl club is a statement of fact: pod is sexy.|