Tripletail::InputFilter::MobileHTML - 携帯電話向けHTML用CGIクエリ読み取り
$TL->setInputFilter('Tripletail::InputFilter::MobileHTML'); $TL->startCgi( -main => \&main, ); sub main { if ($CGI->get('mode') eq 'Foo') { ... } }
以下の点を除いて Tripletail::InputFilter::HTML と同様。
携帯電話の機種毎の絵文字の違いに対応する為に、User-Agent を見て 機種を判別する。
User-Agent
Encodeは絵文字に対応していない為、文字コード変換には常に Unicode::Japanese が用いられる。
セッションキーはクッキーでなくクエリから読み取る。
内部メソッド
Copyright 2006 YMIRLINK Inc. All Rights Reserved.
This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself
このフレームワークはフリーソフトウェアです。あなたは Perl と同じライセンスの 元で再配布及び変更を行うことが出来ます。
Address bug reports and comments to: tl@tripletail.jp
HP : http://tripletail.jp/
To install Tripletail, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tripletail
CPAN shell
perl -MCPAN -e shell install Tripletail
For more information on module installation, please visit the detailed CPAN module installation guide.