NAME
Number::Phone::AU - Validation for Australian Phone numbers
SYNOPSIS
use Number::Phone::AU;
my $valid_number = Number::Phone::AU->new( $number );
DESCRIPTION
This is a module for validating Australian phone numbers.
METHODS
new
my $number = Number::Phone::AU->new( $input_number );
Returns an object representing the $number.
is_valid_contact
my $is_valid = $number->is_valid_contact;
Returns true if the $number is a valid Australian contact number for a business or person. Toll free numbers like 1300 and 1800 are valid as they may be a business contact.
Emergency numbers and special codes are invalid.
INTERFACE NOTE
The interface of this module differs significantly from that set forth by Number::Phone. If you're used to using that module, please read the documentation carefully.
AUTHOR
Josh Heumann, <cpan at joshheumann.com>
BUGS
Please report any bugs or feature requests to bug-number-phone-au at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Number-Phone-AU. 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 Number::Phone::AU
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2010 Josh Heumann.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.