Subject: | perl 5.11.5 warning on Image::ExifTool::Shortcuts |
Date: | Fri, 12 Mar 2010 09:21:05 +1100 |
To: | bug-Image-ExifTool [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
I got a testers report for one of my packages
http://www.cpantesters.org/cpan/report/6914290
which claims, among other things, about Image::ExifTool
# defined(%hash) is deprecated at /export/home/stro/perl5115th/lib/site_perl/5.11.5/Image/ExifTool/Shortcuts.pm line 233.
# (Maybe you should just omit the defined()?)
# at /export/home/stro/perl5115th/lib/site_perl/5.11.5/Image/ExifTool/Shortcuts.pm line 233
# require Image/ExifTool/Shortcuts.pm called at /export/home/stro/perl5115th/lib/site_perl/5.11.5/Image/ExifTool.pm line 2789
# Image::ExifTool::ExpandShortcuts('ARRAY(0x936a4a8)') called at /export/home/stro/perl5115th/lib/site_perl/5.11.5/Image/ExifTool.pm line 2440
# Image::ExifTool::ParseArguments('Image::ExifTool=HASH(0x92e9118)', 'SCALAR(0x85650a0)', 'ARRAY(0x910c488)', 'HASH(0x910c4a8)') called at /export/home/stro/perl5115th/lib/site_perl/5.11.5/Image/ExifTool.pm line 1119
# Image::ExifTool::ImageInfo('SCALAR(0x85650a0)', 'ARRAY(0x910c488)', 'HASH(0x910c4a8)') called at /export/home/stro/cpan/build/5.11.5-th/rss2leafnode-25-HAszoR/blib/lib/App/RSS2Leafnode.pm line 673
# App::RSS2Leafnode::html_title_exiftool('HTTP::Response=HASH(0x8ebbe10)') called at /export/home/stro/cpan/build/5.11.5-th/rss2leafnode-25-HAszoR/blib/lib/App/RSS2Leafnode.pm line 651
# App::RSS2Leafnode::html_title('HTTP::Response=HASH(0x8ebbe10)') called at t/RSS2Leafnode.t line 1163
I suppose the complaint is about
if (defined %Image::ExifTool::Shortcuts::UserDefined) {
I don't know what the word "deprecated" means in the warning message.
It seems to be a mis-spelling of "pointless incompatible change".