Doesn't happen to me (Perl v5.10.0; OpenSuse 11.0/Apache 2.2.19; HTML-Template-Pro-0.9510):
#!/usr/bin/perl use strict; use HTML::Template::Pro; my $tmpl = HTML::Template::Pro->new(filename=>'/tmp/blah.html'); print qq|Content-Type: text/html\n\n|; print $tmpl->output(); 1;
Snippet of the file:
<!DOCTYPE html> <span>blah</span><span>blah</span><span>blah</span><span>blah</span><s +pan>blah</spa\ n><span>blah</span><span>blah</span><span>blah</span><span>blah</span> +<span>blah</s\ pan><span>blah</span><span>blah</span><span>blah</span><span>blah</spa +n><span>blah<\ /span><span>blah</span><span>blah</span><span>blah</span>...
File size is:
170017
Has to be something specific to your setup. Does it work when you run it on the command line?
Celebrate Intellectual Diversity
In reply to Re: HTML::Template::Pro - Issue with template files larger than 8K
by InfiniteSilence
in thread HTML::Template::Pro - Issue with template files larger than 8K
by Uniden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |