Okay, that is pretty confusing. Wouldn't you expect the outer parentheses to return $first in list context, rather than the number of matches from the grep? After looking at it closely for a couple of minutes, I can see why it works, but it sure doesn't scan quickly.
In reply to Re: Cool example of list assignment usage
by perrin
in thread Cool example of list assignment usage
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |