For Perl_Slab_Alloc(), eliminate the unused parameter 'm'.
[p5sagit/p5-mst-13.2.git] / pod / perlsyn.pod
index e8ef30f..c10d732 100644 (file)
@@ -237,7 +237,7 @@ C<if> an C<else> goes with.  If you use C<unless> in place of C<if>,
 the sense of the test is reversed.
 
 The C<while> statement executes the block as long as the expression is
-true (does not evaluate to the null string C<""> or C<0> or C<"0">).
+L<true|/"Truth and Falsehood">.
 The C<until> statement executes the block as long as the expression is
 false.
 The LABEL is optional, and if present, consists of an identifier followed
@@ -698,7 +698,9 @@ order, determines the match behaviour.
 
  + - this must be a code reference whose prototype (if present) is not ""
      (subs with a "" prototype are dealt with by the 'Code()' entry lower down)
- * - if a circular reference is found, we fall back to referential equality
+ * - that is, each element matches the element of same index in the other
+     array. If a circular reference is found, we fall back to referential
+     equality.
  ! - either a real number, or a string that looks like a number
 
 The "matching code" doesn't represent the I<real> matching code,
@@ -729,16 +731,9 @@ would parse the expression
 as though the argument to C<given> were an element of the hash
 C<%foo>, interpreting the braces as hash-element syntax.
 
-The table of smart matches is not identical to that proposed
-by the Perl 6 specification Synopsis 4. Some of the differences
-are simply a consequence of Perl 5's different data model, while
-other changes have been made to address problems with the Perl 6
-proposal. For example, the Perl 6 specification implies that
-C<$string ~~ qr/regex/> would test string equality, rather than
-doing a regular expression match. On the other hand, informal
-examples elsewhere make it clear that a regular expression
-match is the intended behaviour. Thus the Synopsis 4 smart
-match specification cannot yet be regarded as definitive.
+The table of smart matches is not identical to that proposed by the
+Perl 6 specification, mainly due to the differences between Perl 6's
+and Perl 5's data models.
 
 In Perl 6, C<when()> will always do an implicit smart match
 with its argument, whilst it is convenient in Perl 5 to