Number::Phone::Formatter::National(3pm)

Number::Phone::Formatter::National3pm

Formatter for nationally-formatted phone number

Overview

A formatter to output the number in its national format.

Method

format

This is the only method. It takes an E.123 international format string and a Number::Phone object, and outputs the nationally-formatted number.

  +1 212 334 0611 -> 212-334-0611

Note that this uses data derived from libphonenumber, and if your object is not derived from that it will first create a temporary object. This may involve a small unexpected performance hit.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From libnumber-phone-perl 4.0006-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.