| HTML :: Superform. HTML :: SuperformはHTMLフォームジェネレータです。 |
今すぐダウンロード |
HTML :: Superform. ランキングとまとめ
- ライセンス:
- Perl Artistic License
- 出版社のWebサイト:
- http://search.cpan.org/jallwine/HTML-SuperForm-1.04/lib/HTML/SuperForm.pm
HTML :: Superform. タグ
HTML :: Superform. 説明
HTML :: SuperformはHTMLフォームジェネレータです。 HTML :: SuperformはHTMLフォームGenerator.synopsisです.Synopsis HTML :: Superformを使用します。 Apache ::定数QW(OK)を使用してください。サブハンドラ{My $ R =シフト。 My $ FORM = HTML :: SUPERFORM-> NEW($ R)。 My $ text = $ form-> text(name => 'text'、default => 'default text'); My $ Textarea = $ form-> textarea(name => 'textarea'、default => 'さらにデフォルトのテキスト'); My $ SELECT = $ FORM - >選択(名前=> 'select'、default => 2、値=> 、LABELS => {0 => 'ゼロ'、1 => ' 1、2 => '2'、3 => '3'})。 My $ OUTPUT = <<"end_html";
end_html $ r-> content_type( 'テキスト/ html '); $ r-> send_http_header; $ R - >印刷($出力); OKを返します。または#!/ usr / bin / perl私の$ form = html :: superform-> new(); My $ text = $ form-> text(name => 'text'、default => 'default text'); My $ Textarea = $ form-> textarea(name => 'textarea'、default => 'さらにデフォルトのテキスト'); My $ SELECT = $ FORM - >選択(名前=> 'select'、default => 2、値=> 、LABELS => {0 => 'ゼロ'、1 => ' 1、2 => '2'、3 => '3'})。 My $ OUTPUT = <<"end_html";