in reply to Re: Using Number Ranges in a Dispatch Table
in thread Using Number Ranges in a Dispatch Table
But isn't this always the case when you're dealing with statements that take lists as arguments?
print join ",", @foo, "\n";
print grep /o/, @foo, "Hello world!\n";
tr(td($_->), td($_->)) } @foo,
My rule of thumb is, if one of these statements is followed by anything besides its argument, then parenthesize that statement's entire argument list.
print join(",", @foo), "\n";
print grep(/o/, @foo), "Hello world!\n";
tr(td($_->), td($_->)) } @foo),
I hate storms, but calms undermine my spirits.
-- Bernard Moitessier, "The Long Way"