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: 21052
Status: resolved
Priority: 0/
Queue: Data-FormValidator

People
Owner: Nobody in particular
Requestors: PURDY [...] cpan.org
Cc:
AdminCc:

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



Subject: Documentation/Import Error
Trying to follow the doc here: use Data::FormValidator::Constraints qw(:all); But ":all" isn't defined. One-liner test: perl -MData::FormValidator::Constraints -le 'use Data::FormValidator::Constraints qw(:all);' "all" is not defined in %Data::FormValidator::Constraints::EXPORT_TAGS at -e line 1 Can't continue after import errors at /usr/share/perl5/Data/FormValidator/Constraints.pm line 175 BEGIN failed--compilation aborted at -e line 1.
Subject: Re: [rt.cpan.org #21052] Documentation/Import Error
Date: Thu, 17 Aug 2006 14:36:38 -0400
To: bug-Data-FormValidator [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
via RT wrote: Show quoted text
> > use Data::FormValidator::Constraints qw(:all);
What do you think: should be remove the docs, or try to make it work? I'm not sure ":all" is really meaningful, since both new-style and old-style constraints are in there, and you probably don't want "all" of both. Mark
On Thu Aug 17 14:38:03 2006, mark@summersault.com wrote: Show quoted text
> > use Data::FormValidator::Constraints qw(:all);
> > What do you think: should be remove the docs, or try to make it work?
Probably update the docs. I was hurriedly trying to write the code when I came across this and I was using multiple constraints, so I just wanted to shortcut it.
Ok, docs have updated to recommend ':closure', not ':all'. A renew release should happen Soon.