Tripletail::InputFilter::HTML - 通常HTML向けCGIクエリ読み取り
$TL->setInputFilter('Tripletail::InputFilter::HTML'); $TL->startCgi( -main => \&main, ); sub main { if ($CGI->get('mode') eq 'Foo') { ... } }
以下の場所からクエリを読み取る。
$ENV{QUERY_STRING}
application/x-www-form-urlencoded を読み取る。
STDIN
application/x-www-form-urlencoded または multipart/form-data を読み取る。 multipartでファイルがアップロードされた場合は、そのファイル名とIOハンド ルハンドルが Form に格納される。詳しくは Tripletail のIniパラメー タを参照。
また、 Tripletail::Session が有効になっている場合は、セッションデータを クッキー から読み出す。
クエリの文字コードは自動判別され、文字コード変換にはEncodeが優先される。 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.