| 1 | package Number::Phone::UK::GG; | ||
| 2 | |||
| 3 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 4 | ▶ | use base 'Number::Phone::UK'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 4 | our $VERSION = 1.1; | |
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Number::Phone::UK::GG - GG-specific methods for Number::Phone | ||
| 12 | |||
| 13 | =head1 DESCRIPTION | ||
| 14 | |||
| 15 | This class implements GG-specific methods for Number::Phone. It is | ||
| 16 | a subclass of Number::Phone::UK, which is in turn a subclass of | ||
| 17 | Number::Phone. Number::Phone::UK sits in the middle because GG is | ||
| 18 | treated as part of the UK for just about all telephonic purposes. | ||
| 19 | You should | ||
| 20 | never need to C<use> this module directly, as C<Number::Phone::UK> | ||
| 21 | will load it automatically when needed. | ||
| 22 | |||
| 23 | =head1 SYNOPSIS | ||
| 24 | |||
| 25 | use Number::Phone::UK | ||
| 26 | |||
| 27 | my $phone_number = Number::Phone->new('+44 1481 200000'); | ||
| 28 | # returns a Number::Phone::UK::GG object | ||
| 29 | |||
| 30 | =head1 METHODS | ||
| 31 | |||
| 32 | The following methods from Number::Phone::UK are overridden: | ||
| 33 | |||
| 34 | =over 4 | ||
| 35 | |||
| 36 | =item regulator | ||
| 37 | |||
| 38 | Returns information about the national telecomms regulator. | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 2 | ▶ | sub regulator { return 'Guernsey Competition & Regulatory Authority, https://www.gcra.gg/' } |
|
Subroutine
regulator: called CC=1 SCAR=0.0
Pod
documented
| |||
| 43 | |||
| 44 | =back | ||
| 45 | |||
| 46 | =head1 BUGS/FEEDBACK | ||
| 47 | |||
| 48 | Please report bugs at L<https://github.com/DrHyde/perl-modules-Number-Phone/issues>, including, if possible, a test case. | ||
| 49 | |||
| 50 | I welcome feedback from users. | ||
| 51 | |||
| 52 | =head1 LICENCE | ||
| 53 | |||
| 54 | You may use, modify and distribute this software under the same terms as | ||
| 55 | perl itself. | ||
| 56 | |||
| 57 | =head1 AUTHOR | ||
| 58 | |||
| 59 | David Cantrell E<lt>david@cantrell.org.ukE<gt> | ||
| 60 | |||
| 61 | Copyright 2026 | ||
| 62 | |||
| 63 | =cut | ||
| 64 | |||
| 65 | 4 | 1; | |