P is for Practical | |
PerlMonks |
HTML::Template, CGI - concatenating strings & variablesby Lori713 (Pilgrim) |
on Nov 17, 2003 at 14:48 UTC ( [id://307665]=perlquestion: print w/replies, xml ) | Need Help?? |
Lori713 has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm trying to concatenate some strings and a CGI variable together so I can create the template name to be used in my program. Below is what I have, but I get the error message, "HTML::Template->new() : Cannot open included file $rpt_tmpl : file not found. at HTML/Template.pm line 1580". Am I using HTML::Template incorrectly? If I hard-code what I want (cnc1_rpt1_summary.tmpl), it works beautimously and my $rpt_id value is "1". Thanks for any help you can provide!
Lori
Back to
Seekers of Perl Wisdom
|
|