Re: require "config.txt"

2003-06-02 Thread drieux
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

RE: require "config.txt"

2003-06-01 Thread Scot Robnett
# 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

RE: require "config.txt"

2003-06-01 Thread ted . weston
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