This is my take, which really is a guess, but hopefully a qualified one.
I'll first pull out two strings from perlop:
Before 5.001, using an unary - with a bareword in the argument list was a trick to not have to quote it. As of 5.001, this trick was no longer needed since => already did that for you. So I believe that the dash style is a historical left-over.
ihbIn reply to Re: Named Parameters - Dashes or No?
by ihb
in thread Named Parameters - Dashes or No?
by batkins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |