Hi!<br>Iwrite CGI for my images portfolio. This is my first "serious" script, and I need anyone, who can help me.
<br>I modified parse_template subroutine(by Matt Wright, CGI/Perl coocbook) for returning parsed txt file in program, and using it as easy customizable page<br>parts. Code for call this subroutine is:<br><FONT FACE=monospace>$file = "$txt_files/file.txt";<br>if (!&parse_file($file)) {<br>$read_file = "Can not read file.txt";<br>}<br># set 'SUBHEADER' for send page to browser:<br>$VAR{'SUBHEADER'} = "$read_file";</font><br>This work wonderful, if file.txt is only text file, but do'nt work, if file.txt include HTML tags (a.s. code for HTML form).:-(<br>I seems, returned $read_file = "", place on HTML page, where must be located parse results is empty.<br>Please, help me. That I do wrong? The full code you can see only clicking on link. <A HREF=" TARGET="_new">