I've recently encountered a very strange issue that appears to be related to HTML::Template
I have many scripts at my site that generate email messages, and I've noticed that the ones that use HTML::Template to generate the body of the message have recently been coming through with "doubled up" line break. In other words, message content that was formerly single spaced is now double spaced. I've tested this by creating a script with various approaches to generating the email message content, and the only portion of the content that exhibits this extra line break behavior is the portion that is run through HTML::Template. Has anyone else experienced this issue, and if so, figured out the cause? Any thoughts on what might cause such behavior? We're running Apache/Perl on a Linux RedHat system This script code: <code> print MAIL "####### DIRECTLY QUOTED PRINT STATEMENT ##\n"; print MAIL "Single spaced lines between hash marks\n"; print MAIL "=> this represents line 1\n"; print MAIL "=> this represents line 2\n"; print MAIL "=> this represents line 3\n"; print MAIL "=> this represents line 4\n"; print MAIL "=> this represents line 5\n"; print MAIL "####### DIRECTLY QUOTED PRINT STATEMENT ##\n"; </code> comes through as: <output> ########################################## Single spaced lines between hash marks => this represents line 1 => this represents line 2 => this represents line 3 => this represents line 4 => this represents line 5 ########################################## </output> This script code: <code> my $stuff = "######## HTML TEMPLATE ###################\n"; "=> this represents line 1\n"; "=> this represents line 2\n"; "=> this represents line 3\n"; "=> this represents line 4\n"; "=> this represents line 5\n"; "######## HTML TEMPLATE ###################\n"; ; my $template = HTML::Template->new( filename => "$tmpl_dir/CH_line_break_test.tmpl", associate => $q, ); $stuff = $template->output; print MAIL $stuff; </code> comes through as: <output> ########################################## => this represents line 1 => this represents line 2 => this represents line 3 => this represents line 4 => this represents line 5 ########################################## </output> C. Hagstrom [EMAIL PROTECTED] ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users