develooper Front page | perl.perl5.porters | Postings from August 2009

Patch: add ~~ and // to perlcheat.pod

Thread Next
From:
Frank Wiegand
Date:
August 28, 2009 02:02
Subject:
Patch: add ~~ and // to perlcheat.pod
Message ID:
1251450143.14474.260.camel@hal2
Hi, this patch adds ~~ and // to perlcheat.pod

Thanks, Frank



diff --git a/pod/perlcheat.pod b/pod/perlcheat.pod
index 07853a8..7f2c830 100644
--- a/pod/perlcheat.pod
+++ b/pod/perlcheat.pod
@@ -35,11 +35,11 @@ already be overwhelming.
   << >>                   while  ( ) { }, until ( ) { }
   named uops              if     ( ) { } elsif ( ) { } else { }
   < > <= >= lt gt le ge   unless ( ) { } elsif ( ) { } else { }
-  == != <=> eq ne cmp     for equals foreach (ALWAYS)
+  == != <=> eq ne cmp ~~  for equals foreach (ALWAYS)
   &
   | ^              REGEX METACHARS            REGEX MODIFIERS
   &&               ^     string begin         /i case insens.
-  ||               $     str. end (before \n) /m line based ^$
+  || //            $     str. end (before \n) /m line based ^$
   .. ...           +     one or more          /s . includes \n
   ?:               *     zero or more         /x ign. wh.space
   = += -= *= etc.  ?     zero or one          /g global


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