есть такая прога на perle:
#!/perl/bin/perl
use dbi;
use Mysql;
use CGI qw(:standard);
$dbh = Mysql->connect($localhost, $ddd, $root, $ddd);
$dbh->selectdb("ddd");
$sth = $dbh->query("select * from records");
@arr = $sth->FetchRow;
$count = $#arr; # Figure out how many elements.
for ($i=0;$i<=$count;$i++) { # Print out the table names.
print(" ".$arr[$i]);
}
из-под perla выдает все как положено, а в htmle вообще ничего не выдает. в htmle пробовал и через form и через exec ничего не выходит, что не так?