Skip Menu |

This queue is for tickets about the Params-Check CPAN distribution.

Report information
The Basics
Id: 81201
Status: new
Priority: 0/
Queue: Params-Check

Owner: Nobody in particular
Requestors: djerius [...]

Bug Information
Severity: (no value)
Broken in: 0.36
Fixed in: (no value)

Subject: Documentation Bugs
The SYNOPSIS provides an example of using the allow option:

phone       => { allow => [ sub { return 1 if /$valid_re/ },   '1-800-PERL' ]  },

This implies that the value to be validated is stored in $_  ; it's really stored in $_[0].

In addition, the documentation for the allow subroutine does not specify how the value to be validated is passed in. It'd be nice if it did.



This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to