Don't ask to ask, just ask | |
PerlMonks |
Re^2: RFC: Creating Dancer2 validation plugin.by choroba (Cardinal) |
on May 05, 2022 at 08:51 UTC ( [id://11143587]=note: print w/replies, xml ) | Need Help?? |
>I'd have: But that's not equivalent! Note the anonymous sub, the second shift happens in a nested subroutine, it uses its arguments, not the _register_hooks' ones.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Meditations
|
|