Here's the subroutine for writing to the log:
sub writeLog{
$date = localtime(time);
open(LOG, ">>AlphaPageLog.txt") || die "Cannot open AlphaPageLog.txt: $!";
my $text=param('to_group');
my $myname = param('YourName');
my $mynum = param('YourNumber');
my $simple = XMLin($xml);
for my $search ($text) {
my $groups = $simple->{'Group'};
foreach my $group (@{$groups}) {
#print LOG "$date|$group->{'Name'}|$gr
print LOG "$search\n";
}
}
close (LOG);
}
I can't show you the HTML form code.
Main Topics
Browse All Topics





by: FishMongerPosted on 2009-11-08 at 06:58:07ID: 25770665
What is the value of $search when it fails to match?
Can you show us the script and the related html form code?