定義型のリストを生成
PerlモジュールのCGI.pmを使用して、定義型のリストを出力しました。
#!/opt/local/bin/perl
use strict;
use warnings;
use CGI qw(:standard :no_xhtml);
print "Content-type: text/plan; charset=utf-8\n\n";
my $cgi = new CGI;
print $cgi -> dl(
$cgi -> dt("").
$cgi -> dd("")
);
exit;
サンプルコードです。
<dl><dt></dt><dd></dd></dl>
出力結果です。