in reply to Hash Parsing Problem
open(GUESTBOOK, ">>", $guestbook) || die "Could not open guestbook\n";If your filehandle isn't open, you may be printing to nowhere.
Also, watch out! use strict. I think you're making a mistake when you do this:use CGI; my $cgi = CGI->new(); my %form_data = %{$cgi->Vars};
$form_data{$name}Don't you mean this?
$form_data{name}With strict and warnings, the variable reference should cause a complaint, since $name is presumably undeclared.
|
|---|