good catch! :)
> But using next in a given/when to end the given would be odd
Yes and no. Your implying that last (which doesn't look odd) couldn't be used because next is possible.
There are many grammatically correct combinations in perl that look odd, so nobody uses them.
Cheers Rolf
UPDATE: consequently full orthogonality would imply allowing multiple args in given(LIST)
In reply to Re^6: "when" and replacements
by LanX
in thread "when" and replacements
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |