Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 55484
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



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".
Thanks for this report. I agree completely with your diagnosis. This is patched (but not yet confirmed) in ExifTool 8.11 or later, available from the ExifTool home page. It would be great if you could confirm that this problem has been solved with the newer versions. Thanks. - Phil
Subject: Re: [rt.cpan.org #55484] perl 5.11.5 warning on Image::ExifTool::Shortcuts
Date: Fri, 19 Mar 2010 09:30:32 +1100
To: bug-Image-ExifTool [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"Phil Harvey via RT" <bug-Image-ExifTool@rt.cpan.org> writes: Show quoted text
> > It would be great if you could confirm that this problem has been solved with the newer > versions.
I don't have the offending 5.11.5 myself, it was only from a cpantesters. I expect it'll get exercised when it propagates. You could make a test in your dist loading up with Test::NoWarnings or similar too if it matters enough.