| 1 | 2 | ▶ | use 5.008; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | package Data::Semantic::URI::fax; | ||||||||||
| 6 | 2 | our $VERSION = '1.100850'; | |||||||||
| 7 | # ABSTRACT: Semantic data class for fax URIs | ||||||||||
| 8 | 2 | ▶ | use parent qw(Data::Semantic::URI); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 2 | __PACKAGE__->mk_boolean_accessors(qw(nofuture)); | |||||||||
| 10 | 2 | ▶ | use constant REGEXP_KEYS => qw(URI fax); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 2 | ▶ | use constant KEEP_KEYS => qw(URI scheme phone_number); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 2 | ▶ | sub flags { | ||||||||
|
Subroutine
flags: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 14 | 2 | my $self = shift; | |||||||||
| 15 | 2 | my @flags = $self->SUPER::flags(@_); | |||||||||
| 16 | 2 | ▶ | push @flags => 'nofuture' if $self->nofuture; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | 2 | @flags; | |||||||||
| 18 | } | ||||||||||
| 19 | 2 | 1; | |||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | __END__ | ||||||||||