Leser: 1
10 Einträge, 1 Seite |
1
2
[Fri Apr 21 08:22:21 2006] [error] [client 164.30.144.153] Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.6/HTML/Template/Compiled.pm line 324.
[Fri Apr 21 08:22:21 2006] [error] [client 164.30.144.153] Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.6/HTML/Template/Compiled.pm line 325.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl
use strict;
use HTML::Template::Compiled;
use CGI qw(:standard);
my $cgi = new CGI;
my $template = HTML::Template::Compiled->new (
filename => 'test_1.htm'
);
$template -> param (
file_include_var => "test_2.htm"
);
print $cgi->header();
print $template->output();
1
2
3
4
5
6
<html><head></head>
<body>
<p>Dies ist die Datei test_1.htm</p>
<TMPL_INCLUDE test_2.htm>
<TMPL_INCLUDE_VAR NAME=="file_include_var">
</body></html>
dies kommt aus test_2.htm
dies kommt aus test_3.htm
<TMPL_INCLUDE_VAR NAME=="file_include_var">
<TMPL_INCLUDE_VAR NAME="file_include_var">
<!-- TMPL_INCLUDE_VAR FILE_INCLUDE_VAR -->
<!-- TMPL_INCLUDE_VAR NAME="FILE_INCLUDE_VAR" -->
10 Einträge, 1 Seite |