Parentheses are mostly harmless, so you should use them when in doubt, or even when not in doubt, just to make things plain and visible.
Now, as for your problem:
$path = "/usr/local/bin/foobar/"; @file = map { "$path/$_.html" } qw/ a b c d e f /;
--bwana147
In reply to Re: precedence: two functions on one line
by bwana147
in thread precedence: two functions on one line
by kingman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |