At 10:55 AM 8/2/00 -0400, Michael Mathews wrote:

>I am prone to agree with this. I would be willing to promote the requirement
>of starting and ending multiline comments on their own line. Maybe something
>like this (this will not work in Perl 5):
>
>code to execute
>=#
>some
>comments to
>ignore
>=#
>more code to execute

The one concern I would raise about this is that a common use of multi-line 
comments is to dyke out code.  As such, it is handy to have the start and 
end markers different, and allow nesting.  With identical start and end 
markers, I risk un-commenting previously commented material by 
accident.  Commenting out your example:

=#
code to execute      # commented out
=#
some
comments to
ignore               # that aren't being ignored
=#
more code to execute # commented out
=#

I see problems.  Changing the "=#" to "=#<" and =#>" (or something) would 
allow comments to nest properly.

>And this would also be more backwards similar.
>
>--Michael

Reply via email to