"Funnily enough, I don't get the warning on 5.10."
I think the next has to actually "execute" to generate the warning. In your modified version, the functions die instead of returning false (only the latter would trigger the execution of the next).
I do get the warning with all versions I've tested (5.10.0, 5.10.1, 5.12.3, 5.14.1).
In reply to Re^4: "next" from within eval {} ?
by Anonymous Monk
in thread "next" from within eval {} ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |