develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [PATCH] perlsyn.pod Revamp (take 2)

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
May 12, 2003 14:51
Subject:
Re: [PATCH] perlsyn.pod Revamp (take 2)
Message ID:
20030512235701.44f7b08f.rgarciasuarez@free.fr
Casey West wrote:
> : -ignored.  If you attempt to use C</* */> C-style comments, it will be
> : -interpreted either as division or pattern matching, depending on the
> : -context, and C++ C<//> comments just look like a null regular
> : -expression, so don't do that.
> : +ignored.  C-style C</* */> or C++ C<//> comments will do something else
> : +entirely, so don't use them (and I mean it).
> 
> This removed important details that explain why you shouldn't use C or
> C++ style comments.  It's probably not a good idea to remove details
> from documentation.

And BTW // can now be an operator, not only the empty regexp (in blead,
not in maint.)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About