Re: RFC: multiline comments
by Tels other posts by this author
May 23 2007 9:41AM messages near this date
RFC: multiline comments
|
Re: RFC: multiline comments
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Moin,
On Wednesday 23 May 2007 12:36:03 Alexandr Ciornii wrote:
> Hello!
>
> One of the Perl's missing features is multiline comments.
> I propose to add Perl 6 style comments.
> example:
> #[
> comment
> ]
> Or
> #[[ ... ]]
> #( ... )
> Any bracket combination is good, so it allows commenting Perl
> operators and nested comments.
> See
> http://dev.perl.org/perl6/doc/design/syn/S02.html#Whitespace_and_Comments
> (dev version:
> http://feather.perl6.nl/syn/S02.html#Whitespace_and_Comments)
>
> This feature should be activated by 'use 5.10' or 'use feature
> "multiline_comments_or_some_other_name"'.
>
> It would be more convinient than marking each line with '#', or using
> =for comment
> =cut
Wow, this is surely handy. Thanx a lot for this trick :)
As for your question,
I am not qualified to answer :D
All the best,
tels
- --
Signed on Wed May 23 18:44:47 2007 with key 0x93B84C15.
Get one of my photo posters: http://bloodgate.com/posters
PGP key on http://bloodgate.com/tels.asc or per email.
"What you have to have faith in is human beings being able to work
together."
-- Larry Sanger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iQEVAwUBRlSLwXcLPEOTuEwVAQIhZQf9GiJZG+gjcf6H7LHl3TZvnAInsaCeXdKJ
xnFzyHcukrCpmHC9HW97dLbYD/Pj9fVC3TMSkPWThEjQT4xX0TOTZGScw5QBWq5A
BtufdylgAXHV376cJEXC3Jvpal7axJL1Tphd4449lTKfNbbunhofGUA/RKra9joC
GT6zUAAlRzQYSLAD/d/uwG9NxO+p7EBBfpTm9rTz4dg+PJFGNdefw8hHjewxqr7r
WtajuBzCZrHQ2rKYA4b8hclLEpD43IPbroJ3GMUqH8DYnxiiAlFBkNdvFZw8xw71
VUNMHC7BwrBkGvAnZ3MDNEeu3mC/OaapnCPheelnrGpQahqIvnm7/w==
=WwLj
-----END PGP SIGNATURE-----
Thread:
Alexandr Ciornii
Tels
Rafael Garcia-Suarez
Jos I. Boumans
|