Perl6 RFC Librarian wrote:
>
> =head1 TITLE
>
> Inline Comments for Perl.
Why was this posted again? I see no CHANGES section.
> An idea that produces a paired feeling would be to use one of the
> paired character pairs, as in "#<" and ">#".
#<B>Oh Lord, What Have I Gotten Myself Into?</B>
$/="";
while (
<>#paragraphs
) {
m<foo>#found it?
and print;
}
O.k, so they're kinda contrived...
> the three paired character possibilities ("<>", "()", "{}")
There are four in ASCII; and with Unicode, there will be dozens.
Approximately.
> Because "#" has been used to mean comment, it seems that something
> related to "#" should continue to be used to mean comment.
Hm, I thought the idea was to get *away* from #, so as to avoid
confusion?
> vs
> $foo = qw/foo bar/ #<eat me>#;
vs
$foo = qw/foo bar/ qc#<eat me>#;
Uh huh.
--
John Porter
We're building the house of the future together.