| 1 | package HTTP::MobileAgent::AirHPhone; | ||||||||||
| 2 | |||||||||||
| 3 | 9 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 9 | ▶ | use vars qw($VERSION); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 9 | $VERSION = 0.19; | |||||||||
| 6 | |||||||||||
| 7 | 9 | ▶ | use base qw(HTTP::MobileAgent); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 9 | __PACKAGE__->make_accessors( | |||||||||
| 10 | qw(vendor model model_version browser_version cache_size) | ||||||||||
| 11 | ); | ||||||||||
| 12 | |||||||||||
| 13 | 2 | ▶ | sub is_airh_phone { 1 } | ||||||||
|
Subroutine
is_airh_phone: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 14 | |||||||||||
| 15 | 0 | ▶ | sub carrier { 'H' } | ||||||||
|
Subroutine
carrier: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub carrier_longname { 'AirH' } | ||||||||
|
Subroutine
carrier_longname: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 18 | |||||||||||
| 19 | 1 | ▶ | sub name { 'DDIPOCKET' } | ||||||||
|
Subroutine
name: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 20 | |||||||||||
| 21 | sub parse { | ||||||||||
| 22 | 2 | ▶ | my $self = shift; | ||||||||
|
Subroutine
parse: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||
| 23 | 2 | my $ua = $self->user_agent; | |||||||||
| 24 | 2 | ▶ | $ua =~ m!^Mozilla/3\.0\(DDIPOCKET;(.*)\)CNF/2\.0$! or $self->no_match; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 25 | 2 | @{$self}{qw(vendor model model_version browser_version cache_size)} = split m!/!, $1; | |||||||||
| 26 | 2 | $self->{cache_size} =~ s/^c//; | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | ▶ | sub _make_display { | |||||||||
|
Subroutine
_make_display: not called CC=1 SCAR=0.0
| |||||||||||
| 30 | # XXX | ||||||||||
| 31 | } | ||||||||||
| 32 | |||||||||||
| 33 | |||||||||||
| 34 | 9 | 1; | |||||||||
| 35 | __END__ | ||||||||||