|
Data::ToruCa - ToruCa of NTT DoCoMo for treated. |
Data::ToruCa - ToruCa of NTT DoCoMo for treated.
use Data::ToruCa; $Data::ToruCa::VERBOSE = 1;#Warning is output by the favorite.
my $trc = Data::ToruCa->new($toruca_data);#making from ToruCa data.
my $trc = Data::ToruCa->new({
url => 'http://example.jp/toruca_detail.trc',
data1 => 'title',
data2 => 'description.',
data3 => 'Tokyo',
cat => '0001',
});#making from HASH.
$trc->data1('change title');
print $trc->url;
print $trc->build;
$trc->type('CARD');
$trc->html_build('<a href='http://example.jp/'>top page</a>');
$trc->mime($mime_parts);
print $trc->detail_build;
use Data::ToruCa qw(cat2pict);
print cat2pict('0001');#print 'sun' pict of imode.
ToruCa that the cellular phone of NTT DoCoMo in Japan uses is treated.
cat2pic($category_code)
new($toruca_object)new(%toruca_data)version([$set_data])type([$set_data])url([$set_data])data1([$set_data])data2([$set_data])data3([$set_data])cat([$set_data])mime([$set_data])parse($toruca_object)rw_build($html)Onlu one html file can be appended.
japanese site.
http://www.nttdocomo.co.jp/p_s/imode/make/toruca/index.html
Kazuhiro, Osawa<lt>ko@yappo.ne.jp>
Copyright (C) 2005 by Kazuhiro, Osawa
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.
|
Data::ToruCa - ToruCa of NTT DoCoMo for treated. |