Skip Menu |

This queue is for tickets about the Data-FormValidator CPAN distribution.

Maintainer(s)' notes

This is the bug queue for Data::FormValidator.

Report information
The Basics
Id: 32358
Status: resolved
Priority: 0/
Queue: Data-FormValidator

People
Owner: MARKSTOS [...] cpan.org
Requestors: shiv.kumar [...] in.spectranet.com
Cc:
AdminCc:

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



Subject: Error in Data::FormValidator::Costraints Documentation
Date: Wed, 16 Jan 2008 21:37:42 +0530
To: bug-Data-FormValidator [...] rt.cpan.org
From: K B Shiv Kumar <shiv.kumar [...] in.spectranet.com>
Hi, I feel the syntax of a line in the documentation is incorrect. Rather the syntax is correct but the idea is not conveyed. Module: Data::FormValidator::Costraints Version: 4.57 Release: 2nd Nov 2007 Section: WRITING YOUR OWN CONSTRAINT ROUTINES Sub Section: New School Constraints Overview Code Snippet: 2nd SubRoutine: coolness Line No: 14 Reference URL: (http://search.cpan.org/~markstos/Data-FormValidator-4.57/lib/Data/FormValidator/Constraints.pm#New_School_Constraints_Overview) It should read.. my $has_all_three = ($data->{$personality} && $data->{$smarts} && data->{$looks}); instead of my $has_all_three = ($data->{personality} && $data->{smarts} && $data->{looks}); The $(dollar is missing). I beg pardon if I am wrong. Kindly trash this mail if so. If I am correct I'll soon hope to see an updated version!! Cheers, Shiv
After your reviewing your contribution, I believe you are correct, and have applied your recommended update, with credit to you. It will appear in the next release. Thanks! Mark