본문내용
#!/usr/bin/perl
require "cgi-lib.pl";
&ReadParse(*input);
print &PrintHeader;
@city = (0,0,0,0,0,0);
open(voteread,"vote.txt") || die "cannot open file";
for($i = 0; $i < 6; $i++)
{
$city[$i]=;
}
close(voteread);
for($i = 0; $i < 6; $i++)
{
$city[$i]=$city[$i]+0;
}
if($input{'city'}eq"seoul")
{
$city[0]++;
require "cgi-lib.pl";
&ReadParse(*input);
print &PrintHeader;
@city = (0,0,0,0,0,0);
open(voteread,"vote.txt") || die "cannot open file";
for($i = 0; $i < 6; $i++)
{
$city[$i]=
}
close(voteread);
for($i = 0; $i < 6; $i++)
{
$city[$i]=$city[$i]+0;
}
if($input{'city'}eq"seoul")
{
$city[0]++;
소개글