Both methods are widely used, so you are on your own — sometimes one way makes more sense than the other; some people have preferences.
I like flat lists — less parentheses, and you can use non-string keys if you need to (or: someone who extends your module can add non-string stuff without breaking all pre-existing code).
Or you could support both.
In reply to Re: Preferred technique for named subroutine parameters?
by akho
in thread Preferred technique for named subroutine parameters?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |