On Saturday, May 31, 2003, at 12:48 US/Pacific, Scot Robnett wrote:
# config.txt #
$firstname = qq(Sara);
$lastname = qq(Perlfreak);
$email = q([EMAIL PROTECTED]);
### end config.txt ###
-
[..]
A reasonable enough approa
# config.txt #
$firstname = qq(Sara);
$lastname = qq(Perlfreak);
$email = q([EMAIL PROTECTED]);
### end config.txt ###
-
#!/usr/bin/perl -w
use CGI;
require q(/path/to/config.txt);
my $query = new CGI;
# Let's say there
How is the config file arranged?
You'll have to read the file in and setup your own variables, I surmise.
.ted
-Original Message-
From: Sara [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 5:15 PM
To: CGI
Subject: require "config.txt"
How to call the variables from the config fil