in reply to Re^6: When every microsecond counts: Parsing subroutine parameters
in thread When every microsecond counts: Parsing subroutine parameters
Nope -- none to hand. That doesn't lessen my assertion that named parameters are a fine alternative to positional parameters, for the reasons I've already listed. I will modify that by saying that if there are just a few parameters to a function, positional parameters will work fine, but if there's a chance that some of the parameters might be optional, a hashref of named parameters is the way to go.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: When every microsecond counts: Parsing subroutine parameters
by BrowserUk (Patriarch) on May 18, 2008 at 21:23 UTC | |
by rhesa (Vicar) on May 18, 2008 at 21:48 UTC | |
by BrowserUk (Patriarch) on May 18, 2008 at 22:34 UTC |