perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos" <>
Subject printing to a file
Date Mon, 27 Jan 2003 15:19:08 GMT


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);



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= target=_blank></a></font>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message