Re: Getting content of a configuration file

2002-05-30 Thread Todd Wade
"Sven" <[EMAIL PROTECTED]> wrote in message 027901c204e8$fa475da0$14e307d5@brian">news:027901c204e8$fa475da0$14e307d5@brian... ... > $context = $q->param(context); > > require "conf.txt"; > open(READ, "conf.txt") or die "Error opening file: conf.txt, Errorcode: > $!\n"; > close(READ); I dont un

Re: Getting content of a configuration file

2002-05-28 Thread John Brooking
open(READ, "conf.txt") or die "Error opening file: > conf.txt, Errorcode: > $!\n"; > close(READ); > > if ($context eq "assembly") { %conf_data = %assembly > ; } > elsif ($context eq "basic") { %conf_data = %basic ; > } > > print $

Re: Getting content of a configuration file

2002-05-26 Thread Sven
er; print < $conf_data{title} $conf_data{description} END_OF_HTML - Original Message - From: "Octavian Rasnita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 25, 2002 4:06 PM Subject: Getting content of a configuration file > Hi all, > &

Getting content of a configuration file

2002-05-25 Thread Octavian Rasnita
Hi all, I want to use a configuration file for a script and maybe I look in the wrong direction. Please tell me if I have a better solution. I want to make a script that generates HTML pages. I already have the script but I need to manually enter the page title, the keywords, the description, a