On 5/14/07, David Moreno Garza <[EMAIL PROTECTED]> wrote:
Dr.Ruud wrote:
> The / is taken, but there are many other ways to do multiline comments.
> For one, see perldoc perlpod.
You mean using =begin, =end? They are not exactly multiline *comments*.
--
David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/
<URL:http://www.georgedillon.com/web/html_email_is_evil.shtml>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Not that I use them myself, but the "proper" (for various values of
proper) way to use POD for multi-line comments is
=for comment
Commented text
=cut
Yes it sucks, yes it will be fixed* in Perl 6* (or possible earlier if
the trend of adopting Perl 6 features in Perl 5 releases continues).
It will be a quote-like operator, so you will be able to say
#{
This is
a multi-line comment
}
#[
so is this
#[ and this one is nested ]
]
#{{{ multiple brackets must match on both sides }}}
* for various definitions of fixed, there are some caveats, the
biggest being that a # as the first character on a line is always
considered a single line comment even if the next character is a
bracketing character. Don't ask me why.
* http://dev.perl.org/perl6/doc/design/syn/S02.html
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/