summaryrefslogtreecommitdiff
path: root/pod/perlcheat.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-27 10:46:26 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-07-27 10:51:04 -0700
commit2ba1f20ac3ac18b441a222cea2b0bbf6f3588c7d (patch)
tree65b642b8cfec178f82d9dbcb8cc62a9d88e9b6b6 /pod/perlcheat.pod
parente52de15a297bcbe6fac509aef6b35095923fa7d0 (diff)
downloadperl-2ba1f20ac3ac18b441a222cea2b0bbf6f3588c7d.tar.gz
[perl #113684] Document actual prec of loop exits
These have always* had assignment precedence, such that $a = goto $b = $c is equivalent to $a = (goto ($b = $c)) * I haven’t checked before perl 5.
Diffstat (limited to 'pod/perlcheat.pod')
-rw-r--r--pod/perlcheat.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlcheat.pod b/pod/perlcheat.pod
index 7fd82f8564..f288692a87 100644
--- a/pod/perlcheat.pod
+++ b/pod/perlcheat.pod
@@ -42,7 +42,7 @@ already be overwhelming.
|| // /m line based ^$ $ str end (bfr \n)
.. ... /s . includes \n + one or more
?: /x ignore wh.space * zero or more
- = += -= *= etc /p preserve ? zero or one
+ = += last goto /p preserve ? zero or one
, => /a ASCII /aa safe {3,7} repeat in range
list ops /l locale /d dual | alternation
not /u Unicode [] character class