The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tripletail::InputFilter::MobileHTML - 携帯電話向けHTML用CGIクエリ読み取り

SYNOPSIS

  $TL->setInputFilter('Tripletail::InputFilter::MobileHTML');
  
  $TL->startCgi(
      -main => \&main,
  );
  
  sub main {
      if ($CGI->get('mode') eq 'Foo') {
          ...
      }
  }

DESCRIPTION

以下の点を除いて Tripletail::InputFilter::HTML と同様。

文字コード判別

携帯電話の機種毎の絵文字の違いに対応する為に、User-Agent を見て 機種を判別する。

文字コード変換

Encodeは絵文字に対応していない為、文字コード変換には常に Unicode::Japanese が用いられる。

セッション

セッションキーはクッキーでなくクエリから読み取る。

METHODS

decodeCgi

内部メソッド

SEE ALSO

Tripletail
Tripletail::InputFilter
Tripletail::InputFilter::HTML

AUTHOR INFORMATION

    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/