in reply to Re: RFC: New style for argument check in subs
in thread RFC: New style for argument check in subs
* Sub::Signatures,
use Filter::Simple ???
are you serious?
* Method::Signatures
use base 'Devel::Declare::MethodInstaller::Simple' ???
are you serious?
* Params::Validate
nice but ...
- overhead by extra sub call
- parameters are unpacked into %p hash, i.e. you need to type $p{x} to access x adn you'll miss all the benefits of compiletime checks for lexicals like my $x.
So any serious arguments other than clicking thru CPAN?
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: New style for argument check in subs
by Anonymous Monk on Sep 05, 2012 at 13:13 UTC | |
|
Re^3: RFC: New style for argument check in subs
by chip (Curate) on Sep 10, 2012 at 07:48 UTC | |
by LanX (Saint) on Sep 10, 2012 at 09:49 UTC | |
by chip (Curate) on Sep 10, 2012 at 20:21 UTC | |
by LanX (Saint) on Sep 10, 2012 at 22:48 UTC | |
by chip (Curate) on Sep 11, 2012 at 20:06 UTC |