人気ブログランキング | 話題のタグを見る

About smegy things


by smeg_head
カレンダー
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

CGI

そういえば、CGIは久しぶり。なんだか、MVC病です。いろいろと考えて進まない。
車輪の再発明でいいからどんどん進めてみるか。

#!c:/perl/bin/perl -w
use strict;
use lib './lib';
use CGI;
use HTML::Template;

my $q = new CGI;
print $q->header(-type => 'text/html', -charset => 'Windows-31J');

my $template = new HTML::Template(filename => 'html/menu.html', associate => $q);

print $template->output;
by smeg_head | 2006-10-08 22:18 | web general