in reply to DWIM code would use Params::Validate
in thread Correct idiom for default parameters
You seem to be a big fan of software (over)engineering. As I've only seen overengineered solutions, maybe you can show an example where the code using Params::Validate is shorter and/or more concise or even more readable than the solutions already presented. The synopsis of Params::Validate only shows verbose "solutions" spanning at least five or six lines.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DWIM code would use Params::Validate (overengineered)
by metaperl (Curate) on Apr 30, 2010 at 13:40 UTC | |
by Corion (Patriarch) on Apr 30, 2010 at 13:55 UTC |