Skip Menu |

This queue is for tickets about the HTML-Template CPAN distribution.

Report information
The Basics
Id: 67663
Status: resolved
Priority: 0/
Queue: HTML-Template

Owner: Nobody in particular
Requestors: RENEEB [...]

Bug Information
Severity: (no value)
Broken in: 2.9
Fixed in: (no value)

Subject: Deprecation warning with Perl 5.14.0 RC1
Download (untitled) / with headers
text/plain 406b
Hi, I just tested HTML::Template with the new Perl 5.14.0 RC1 and I get a deprecation warning for the tie in Use of tied on a handle without * is deprecated at /home/entwicklung/.cpan/build/HTML-Template-2.9-XW2pkS/blib/lib/HTML/ line 2694. That deprecation was introduced in Perl 5.14, see: - Renée
Download (untitled) / with headers
text/plain 485b
The warning in the test suite comes from t/99-old-test-pl.t open(OUT, ">blib/test.out") or die $!; $template = HTML::Template->new(filename => './templates/include_path/a.tmpl'); $template->output(print_to => *OUT); Later in the code, it does this tie $result, 'HTML::Template::PRINTSCALAR', $args{print_to} if defined $args{print_to} and not tied $args{print_to}; The bug is the tied test on print_to. I'm not clear how best to determine that $args{print_to} isn't a glob.
This should be fixed in the upcoming 2.91 release

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to