NAME

Number::Phone::RO - Phone number information for Romania (+40)

SYNOPSIS

use Number::Phone::RO;
my $nr = Number::Phone::RO->new('+40250123456');
say $nr->is_geographic;  # 1
say $nr->is_fixed_line;  # 1
say $nr->is_mobile;      # 0
say $nr->is_tollfree;    # 0
say $nr->is_specialrate; # 0
say $nr->areacode;       # 250
say $nr->areaname;       # Vâlcea
say $nr->subscriber;     # 123456
say $nr->format;         # +40 250 123 456

DESCRIPTION

This module is a work in progress. See the TODO section below.

See the Number::Phone documentation for usage information. The following methods from Number::Phone are overridden:

is_geographic
is_fixed_line
is_mobile
is_tollfree
is_specialrate
country_code

Always returns 40.

regulator

Returns the name and URL of the regulator, ANCOM.

areacode
areaname
subscriber
format

TODO

Only long (10 digits) numbers are supported.

Should query http://portabilitate.ro/ to implement operator and operator_ported.

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, at your option, any later version of Perl 5 you may have available.