05 Jan 2011 01:16:08 UTC
- Distribution: Number-Phone-AU
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (658 / 0 / 0)
- KwaliteeBus factor: 0
- 100.00% Coverage
- License: perl_5
- Activity24 month
- Download (4.18KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionHEUMANN Josh Heumann
- INTERFACE NOTE
- LICENSE AND COPYRIGHT
Number::Phone::AU - Validation for Australian Phone numbers
use Number::Phone::AU; my $valid_number = Number::Phone::AU->new( $number );
This is a module for validating Australian phone numbers.
my $number = Number::Phone::AU->new( $input_number );
Returns an object representing the $number.
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.
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.
<cpan at joshheumann.com>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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.
Module Install Instructions
To install Number::Phone::AU, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Number::Phone::AU
For more information on module installation, please visit the detailed CPAN module installation guide.