dumb perl question

by FODAC(at)aol.com

 Date:  Tue, 08 Jan 2002 16:52:19 EST
 To:  <hwg-techniques(at)mail.hwg.org>
  todo: View Thread, Original
OK, I know this is very simple for Perl buffs, but I need help. I'm trying to create a file and write to it. This file brings up the HTML page with "name" passed, but I cannot find the file it supposedly created and wrote to. Can someone help?

Thanks,
Kevin Riggs
FODAC

#!/usr/bin/perl

use CGI;


my $handler;
my $name;
$handler = CGI::new();

$name = $handler->param("name");


print $handler->header();
print $handler->start_html();
print "Thanks, $name";
print end_html();

open ( OUTFILE, ">>vehicles") || die ("cannot open");

print OUTFILE "\nName: " . $name;

close OUTFILE;

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA