>> Thanks for the reply - can you please what is the problem with having
it in the beginning of the line?
>
> Short answer: the compiler has no way of knowing whether the
> programmer wants an embedded comment or a line comment; so instead of
guessing, it requires the programmer to disambiguate.
>

Is it not possible to skip the commented sections by the parser?
Why have every other popular language, that i know, multiline comments
included without any problems? It would be very useful for better
developing with perl.
If you would use a mlc like =# #= where the opening tag must stay on the
beginning of the line and you would leave complete the line on closing tag
#= also commented you could put it into perl5 and none existing script or
module should get broken.

Christian




Reply via email to