NAME
WWW::MobileCarrierJP::Softbank::Display - ディスプレイ(Softbank)
SYNOPSIS
use WWW::MobileCarrierJP::Softbank::Display;
my $table = WWW::MobileCarrierJP::Softbank::Display->scrape();
my $example = shift @$table;
my $modelname = $example->{model};
my ($browser_resolution) = List::Util::first @{ $example->{browser_pixels} };
printf "browser resolution of %s is %d x %d\n", $modelname,
$browser_resolution->{width}, $browser_resolution->{height};
OUTPUT
Arrayref of hashes, structured as follows.
{
# Model Name
model => '941SH',
# Browser Dimensions (Array) :
# Some terminal supports multiple screen modes so this property
# may have several items. The order is same as on the table.
browser_pixels => [
{
orientation => '縦',
width => 480,
height => 824,
}, ...
],
# Maximum Displayable Characters in the Browser (Array)
# Same as above, in addition, the maximum number is vary
# depends on the font size setting.
browser_characters => [
{
orientation => '縦',
size_table => [
{
size_label => '大',
cols => 19,
rows => 14,
# indicate whether default or not on some model
extra => '',
}, ...
],
}, ...
],
# Supported Screen Size on S! Appli (Array)
appli_pixels => [
{
orientation => '縦',
size_table => [
{
# sometimes contains "(独自サイズ)" (uncommon size)
resolution => 'QQVGA',
width => 120,
height => 130,
}, ...
],
}, ...
],
# Default Font Size on S! Appli (Array)
appli_fontsize => [
{
orientation => '縦',
size_table => [
{
# sometimes contains "(独自サイズ)" (uncommon size)
resolution => 'QQVGA',
width => 12,
height => 12,
}, ...
],
}, ...
],
# Widget Dimensions, run independently (Array)
widget => [
{
orientation => '縦',
width => 480,
height => 824,
}, ...
],
# Widget Dimensions, run from homescreen (Array)
widget_homescreen => [
{
orientation => '縦',
width => 480,
height => 824,
}, ...
],
# Flash Dimensions (Hash)
flash => {
width => 480,
height => 824,
},
},
AUTHOR
tnj / Yuki Fujisaki <tanji@nothing.sh>