If the elements have no individual meaning, why name them at all? Make them unnamed array members.
use Algorithm::Combinatorics ':all'; foreach (permutations([$x, $y, $z])) { doStuff($_) if $_->[0]; }
In reply to Re: Refactoring technique?
by Anonymous Monk
in thread Refactoring technique?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |