To see why not, try this (because it won't work)
    print "foo" =pod ."bar" =cut . "baz"

whereas in javascript this will work (prints "foobaz")
    document.write("foo" /* + "bar" */ + "baz");

Also (as stated in the RFC) wouldn't adding POD "comments" all over a script
interfere with real POD (being used for documentation, as intended). I agree
your offer is a workaround most of the time but why not create a real
feature that works like C++ or Java programmers are used to?

--Michael



----- Original Message -----
From: "Michael Fowler" <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 6:15 PM
Subject: Re: RFC: multiline comments


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


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--


Reply via email to