NAME
Data::RuledValidator::Plugin::Japanese - Data::RuledValidator plugin for Japanese
VERSION
Version 0.04
SYNOPSIS
In rule file;
HIRAGANA is hiragana
KATAKANA is katakana
HIRAGANA_with_white_space is hiragana
KATAKANA_with_white_space is katakana
HIRAGANA_with_white_space2 is hiragana
KATAKANA_with_white_space2 is katakana
JP_ZIP is jp_zip
JP_MOBILE_EMAIL is jp_mobile_email
JP_MOBILE_EMAIL_DOCOMO is jp_mobile_email
JP_MOBILE_EMAIL_AU is jp_mobile_email
JP_MOBILE_EMAIL_SOFTBANK is jp_mobile_email
JP_MOBILE_EMAIL_WILLCOM is jp_mobile_email
JP_MOBILE_EMAIL_VODAFONE is jp_mobile_email
JP_MOBILE_EMAIL_DOCOMO is jp_imode_email
JP_MOBILE_EMAIL_AU is jp_ezweb_email
JP_MOBILE_EMAIL_SOFTBANK is jp_softbank_email
JP_MOBILE_EMAIL_VODAFONE is jp_vodafone_email
JP_PHONE_NUMBER is jp_phone_number
JAPANESE_WORDS length_jp 0, 10
PROVIDED CONDITIONS
This plugin provides the following Conditions.
- hiragana
-
family_name_kana is hiragana
For hiragana.
- katakana
-
family_name_kana is katakana
For katakana
- jp_phone_number
-
zipcode is jp_phone_number
For Japanese phone number.
- jp_zip
-
zipcode is jp_zip
For Japanese zip code. ###-####.
- jp_mobile_email
-
mobile_mail is jp_mobile
For Japanese mobile mail address. It allow many kinds of mobile email address.
If you want to check specified kinds of mail address, use the following;
jp_imode_email
jp_ezweb_email
jp_vodafone_email
jp_softbank_email
PROVIDED OPERATORS
This plugin provides the following Operator.
- length_jp #, #
-
jp_words length_jp 0, 10
If the length of jp_words is from 0 to 10, it is valid. The first number is min length, and the second number is max length.
You can write only one value.
jp_words length_jp 5
This means length of jp_words lesser than 6.
AUTHOR
Ktat, <ktat at cpan.org>
BUGS
Please report any bugs or feature requests to bug-data-ruledvalidator-plugin-japanese at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-RuledValidator-Plugin-Japanese. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Data::RuledValidator::Plugin::Japanese
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Data-RuledValidator-Plugin-Japanese
CPAN Ratings
http://cpanratings.perl.org/d/Data-RuledValidator-Plugin-Japanese
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Data-RuledValidator-Plugin-Japanese
Search CPAN
http://search.cpan.org/dist/Data-RuledValidator-Plugin-Japanese
SEE ALSO
Data::FormValidator::Constraints::Japanese
This plugin just uses functions of Data::FormValidator::Constraints::Japanese.
Mail::Mobile::AddressJp
This module is used in Data::FormValidator::Constraints::Japanese.
Number::Phone::JP
This module is used in Data::FormValidator::Constraints::Japanese.
Thanks!
COPYRIGHT & LICENSE
Copyright 2007 Ktat, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.