Tripletail::InputFilter - CGIクエリパラメータを読み取る
$TL->setInputFilter('Tripletail::InputFilter::HTML'); $TL->startCgi( -main => \&main, ); sub main { if ($CGI->get('mode') eq 'Foo') { ... } }
QUERY_STRING, PATH_INFO, stdin等からリクエストのパラメータを受け取り、 Tripletail::Form を生成する為のフィルタ。
QUERY_STRING / stdinからリクエストを読む。 セッション は クッキー から読む。(デフォルト)
QUERY_STRING / stdinからリクエストを読む。 セッション はFormから読む。文字コード変換には常にUniJPを使う。
SEO入力フィルタ。
何もしないフィルタ。
$TL->newInputFilter
$filter = $TL->newInputFilter
Tripletail::InputFilter オブジェクトを作成。
decodeCgi
$filter->decodeCgi($form);
任意の場所からリクエストデータを読み、それを$formに追加する。
decodeURL
$filter->decodeURL($form, $url, $fragment)
指定されたURLから(可能なら)読めるデータを読み、それを$formに追加する。 URLにフラグメント部分は含まれない。もしフラグメントが存在したなら、 それは$fragmentに入る。フラグメントが無ければ$fragmentはundefになる。
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.