DrHyde / perl-modules-Number-Phone

Number::Phone and friends
24 stars 31 forks source link

Store/use libphonenumber's format field #78

Closed dracos closed 6 years ago

dracos commented 7 years ago

my $p = Number::Phone::Lib->new("BR", "08522222222"); print $p->format; gives +55 85 2222 2222; the source data contains a <format>$1 $2-$3</format> line which it might be good to utilise, so the output (here, or with another function?) was +55 85 2222-2222.