-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* Flavio S. Glock <[EMAIL PROTECTED]> [2003-06-24 10:04]:
> Michel Rodriguez wrote:
> > Variable/Parameter conventions can start religious wars, so I would
> > like to offer module authors a way to be a little oecumenical, so
> > they can easily offer named parameters that follow the
> > one_true_perl_convention or even the baddlyNamedCamelCaseConvention.
> 
> Param::Validate has some related functionality:
> 
>    my %p = validate_with
>                ( params => [EMAIL PROTECTED],
>                  ignore_case   => 1,
>                  strip_leading => '-',
>                );
> 
> Maybe adding a "ignore_underline" option to 
> Param::Validate would be enough (used with "ignore_case") ?

...Or maybe a add a transformation option Params::Validate, that accepts
a subroutine, that each parameter name is passed through.

(darren)

- -- 
Neckties strangle clear thinking.
    -- Lin Yutang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++FzzzsinjrVhZaoRAhDBAJ92C0SKxJKAdXlLuK4qtyxpPeQYwACeOq7y
a2gpa5PzJjzTJh4fMWMLJmo=
=LTVe
-----END PGP SIGNATURE-----

Reply via email to