Hi!
I am trying to create a config file from a template file and some data submited from a
form.
When i try to write the values to the config file a get an error.
I am doing this:
open (tfile, "config_template.epl");
@tfile = \<tfile>;
close (tfile);
foreach(@tfile){
s/databaseparams/$dbparams/
}
foreach(@tfile){
s/generalparams/$gparams/
}
open (cfile, ">pckg.epl");
print OUT cfile @tfile; # Here is the problem, i have tryed many combination of this
but nothing works.
close (cfile);
What is the right way to write to a file?
Thank you in advance.
Carlos Kassab
_______________________________________________
<font size=2 face=verdana><b>No banners. No pop-ups. No kidding.</b>
Introducing My Way - <a href=http://www.myway.com
target=_blank>http://www.myway.com</a></font>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]