I think this is referring to the fact that you can't use next to "just" jump out of a sub (or do or eval) - it needs to jump out of another block (which does not return a value) at a higher level. Compare this:
sub foo () { next }
foo
with this:
sub foo () { next }
foo for 1
The first dies with Can't "next" outside a loop block; the second runs successfully, but will warn when warnings are enabled.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|