FYI, I would have written that as so:
sub links { my $url = shift; return map { "$url/$_\n" } @_; }
In reply to Re: Turning foreach into map?
by dragonchild
in thread Turning foreach into map?
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |