Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This seems to be a hot topic today!
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
|
|