Do you know where your variables are? | |
PerlMonks |
Re: Preferred technique for named subroutine parameters? (PBP)by toolic (Bishop) |
on May 22, 2009 at 21:06 UTC ( [id://765752]=note: print w/replies, xml ) | Need Help?? |
For the record, the Perl Best Practices book (chapter 9, section titled "Named Arguments") recommends passing a hashref. The reason cited is the same as that given by AnomalousMonk in Re: Preferred technique for named subroutine parameters?. In fact, that sub-thread would make a great appendix to the PBP section!
In Section
Seekers of Perl Wisdom
|
|