Subject: | HTML::Formatter can() vs 5.11.4 |
Date: | Tue, 16 Feb 2010 08:49:49 +1100 |
To: | bug-HTML-Format [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
One of my cpantesters reports
http://www.cpantesters.org/cpan/report/6821342
claims (among other things)
# UNIVERSAL->import is deprecated and will be removed in a future perl at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/Formatter.pm line 110
# at /home/david/cpantesting/perl-5.11.4/lib/5.11.4/UNIVERSAL.pm line 20
# UNIVERSAL::import('UNIVERSAL', 'can') called at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/Formatter.pm line 110
# HTML::Formatter::BEGIN() called at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/Formatter.pm line 110
# eval {...} called at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/Formatter.pm line 110
# require HTML/Formatter.pm called at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/FormatText.pm line 68
# HTML::FormatText::BEGIN() called at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/Formatter.pm line 110
# eval {...} called at /home/david/cpantesting/perl-5.11.4/lib/site_perl/5.11.4/HTML/Formatter.pm line 110
# require HTML/FormatText.pm called at /home/david/cpantesting/perl-5.11.4/.cpan/build/rss2leafnode-20-ZAG9Rz/blib/lib/App/RSS2Leafnode.pm line 1328
# App::RSS2Leafnode::elt_to_rendered_text('XML::Twig::Elt=HASH(0x135d258)') called at /home/david/cpantesting/perl-5.11.4/.cpan/build/rss2leafnode-20-ZAG9Rz/blib/lib/App/RSS2Leafnode.pm line 1436
# App::RSS2Leafnode::item_to_copyright('App::RSS2Leafnode=HASH(0xbed388)', 'XML::Twig::Elt=HASH(0x136eb60)') called at t/RSS2Leafnode.t line 216
I suppose it's objecting to import of can() in HTML::Formatter. Maybe
it's supposed to be used as a method ->can. I don't know what the word
"deprecated" means, it might be a misspelling of depreciated, except in
this context it seems to mean "incompatible change".