Created
April 21, 2011 08:37
-
-
Save kazeburo/933984 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!perl | |
| use strict; | |
| use Data::Validator; | |
| my $v = Data::Validator->new( | |
| limit => 'Int' | |
| ); | |
| $v->validate('foo'); | |
| __END__ | |
| Single parameters to new() must be a HASH ref at /Users/.../perls/perl-5.12.2/lib/site_perl/5.12.2/Data/Validator.pm line 119 | |
| Data::Validator::validate('Data::Validator=HASH(0x10082d078)', 'foo') called at /tmp/hogehoge.pl line 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment