Number::Phone::Formatter::EPP - An EPP formatter for Number::Phone
version 0.07
# Option 1: use with Number::Phone # # prints: +44.2087712924 # my $number = Number::Phone->new('+44 20 8771 2924'); print $number->format_using('EPP'); # Option 2: use standaline, without Number::Phone # # prints: +44.2087712924 # print Number::Phone::Formatter::EPP->format('+44 20 8771 2924');
This is a formatter that will format an E.123 formatted number (from Number::Phone) as an EPP phone number. This can be used with Number::Phone, or, as a standalone module if you do not need the features of Number::Phone.
This is the only method. It takes an E.123 international format string as its only argument and reformats it in EPP (RFC 5733) format. For example:
+44 20 8771 2924 -> +44.2087712924 +1 212 334 0611 -> +1.2123340611
RFC 5733
The development version is on github at https://github.com/mschout/perl-number-phone-formatter-epp and may be cloned from git://github.com/mschout/perl-number-phone-formatter-epp.git
Please report any bugs or feature requests to bug-number-phone-formatter-epp@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Number-Phone-Formatter-EPP
Michael Schout <mschout@cpan.org>
This software is copyright (c) 2016 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Number::Phone::Formatter::EPP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Number::Phone::Formatter::EPP
CPAN shell
perl -MCPAN -e shell install Number::Phone::Formatter::EPP
For more information on module installation, please visit the detailed CPAN module installation guide.