..that would allow me to pass '' as a valid month.my %params = ( type => qr/Order|Return/, month => sub { my $month = shift; return grep { /$month/ } (1 .. 1 +2) } );
In reply to Re: RFC - Parameter Objects
by hossman
in thread RFC - Parameter Objects
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |