in reply to Re^2: HTML::Template::Pro - Issue with template files larger than 8K
in thread HTML::Template::Pro - Issue with template files larger than 8K
Oki Doki! The culprit is the output buffering. When executing the script via command line, the header does display exactly after 8192 bytes, which when run through Apache produces an error. Output buffering can be disabled in Perl, so I added the line "$|=1;" to my script and now it works.
#!/usr/bin/perl
|
|---|