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

People
Owner: Nobody in particular
Requestors: RENEEB [...] cpan.org
Cc:
AdminCc:

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 Template.pm: Use of tied on a handle without * is deprecated at /home/entwicklung/.cpan/build/HTML-Template-2.9-XW2pkS/blib/lib/HTML/Template.pm line 2694. That deprecation was introduced in Perl 5.14, see: http://search.cpan.org/~jesse/perl-5.14.0-RC1/pod/perldelta.pod#Deprecations - 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.