The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.09 - 2014-05-04

  • A call to validate() where the spec was a reference to a Readonly hash would segfault. Reported by Salvatore Bonaccorso. RT #80572.
  • When using the XS implementation, attempting to validate parameters with tainted values would cause an "Insecure dependency in eval_sv() while running with -T switch" exception from Perl *if the validation failed*. This is fixed, but only for Perl 5.14+. Older Perls do not include the necessary XS API. RT #70174.
  • Fixed some potential segfaults from the XS implementation including the one reported by Анатолий Гришаев in RT #50412. However, the XS code in general is pretty crufty and tends to assume that values which could be NULL aren't.
  • Fixed bad example of state() in POD. Reported by Salvatore Bonaccorso. RT #80250.

Modules

Define validation through subroutine attributes
Validate method/function parameters

Provides

in lib/Params/ValidatePP.pm
in lib/Params/ValidateXS.pm
in lib/Params/Validate/Constants.pm
in lib/Params/Validate/PP.pm
in lib/Params/Validate/XS.pm