In the original code I used $_[0] and $_[1], I changed that and gave the vars names simply to make it clearer to the OP.
Why (shift,shift)? Why not? It makes it clear that I am only going to consider using 2 parameters. Admittely that can be derived from the left-hand side of the expression, but what is wrong with shift? The docs don't indicate that it is depreciated or anything.
In reply to Re: Re^2: Stopping and restarting a loop
by BrowserUk
in thread stoping and restarting a loop
by mnlight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |