in reply to Code clarification - use of map and $$_

There is much good advice and learning throughout the thread... to sum up what my recommendations would be

1 I know for many non-expert Perl coders, the explicit join is more natural and possibly easier to remember in the future than the magic variables; personally, despite having hacked Perl for ... eek, two decades now! -- it wasn't until I started really frequenting perlmonks a few months back that I actually understood what the $, and $" variables do, and started using them