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

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

Thread Previous | Thread Next
From:
Casey West
Date:
May 12, 2003 14:55
Subject:
Re: [PATCH] perlsyn.pod Revamp (take 2)
Message ID:
20030512220020.GC72887@geeknest.com
It was Monday, May 12, 2003 when Rafael Garcia-Suarez took the soap box, saying:
: 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.)


That should probably be documented.  :-)

  Casey West

-- 
Shooting yourself in the foot with Unix 
You shoot yourself in the foot 

--- perl-current.orig/pod/perlsyn.pod   Sat Apr 26 20:07:07 2003
+++ perl-current/pod/perlsyn.pod        Mon May 12 17:54:21 2003
@@ -20,7 +20,7 @@
 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.
+expression or pattern match operator, so don't do that.
 
 =head2 Declarations
 

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