in reply to RFC named parameter syntactic sugar
I'd prefer more people used the plain my %p = @_ because then its just a step to the left, you can say use Params::Validate; ... my %p = validate( @_, ... ). It makes adding proper argument handling code /so/ easy.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC named parameter syntactic sugar
by snowhare (Friar) on Oct 19, 2005 at 14:10 UTC | |
by diotalevi (Canon) on Oct 19, 2005 at 15:32 UTC | |
by dragonchild (Archbishop) on Oct 19, 2005 at 14:51 UTC | |
by diotalevi (Canon) on Oct 19, 2005 at 15:36 UTC | |
by xdg (Monsignor) on Oct 19, 2005 at 15:57 UTC |