summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-11-29 21:44:37 +0000
committerZefram <zefram@fysh.org>2017-11-29 21:44:37 +0000
commitb4904f80ff3e727173a3d8a9856827695e1af0ad (patch)
tree24bba2a9bd7616887b1f2067443fbaa45194d36b /cop.h
parent97b4caa610942fa2caded4f8ec03ac72089cd30e (diff)
downloadperl-b4904f80ff3e727173a3d8a9856827695e1af0ad.tar.gz
make "when" do implicit "next"
A "when" construct, upon reaching the end of its conditionally-executed block, used to perform an implicit jump to the end of the enclosing topicalizer, defined as either a "given" block or a "foreach" operating on $_. Change it to jump to the enclosing loop of any kind (which now includes "given" blocks).
Diffstat (limited to 'cop.h')
0 files changed, 0 insertions, 0 deletions