On Tue, 1 Aug 2000, John Barnette wrote:
> Michael Fowler wrote:
> > On Tue, Aug 01, 2000 at 05:28:08PM -0400, Michael Mathews wrote:
> > > Unlike many programming languages Perl does not currently implement true
> > > multiline comments. This can be confusing/tedious to programmers. This could
> > > be solved by adding a syntax to Perl 6 that would allow for true multiline
> > > comments.
> >
> > I'm not sure exactly what you consider to be a "true multiline comment", but
> > Perl definitely has them by my definition.
> >
> > =pod
> >
> > Hi, this is a multiline comment.
> >
> > =cut
>
> The obvious problem with this, of course, is that pseudo-multilines that
> use this technique show up in the POD documentation for the program /
> module. While this is sometimes desirable, it seems like a overload.
>
Not if it is done as
=begin multiline comment
Multiline commend goes
here
=end multiline comment
=cut
but that is a bit more verbose...
--
Tim Jenness
JCMT software engineer/Support scientist
http://www.jach.hawaii.edu/~timj