Ignore:
Timestamp:
2011-06-01T12:33:42+12:00 (13 years ago)
Author:
sjm84
Message:

Updating the ExifTool perl modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cpan/Image/ExifTool/PPM.pm

    r16842 r24107  
    1717use Image::ExifTool qw(:DataAccess :Utils);
    1818
    19 $VERSION = '1.04';
     19$VERSION = '1.05';
    2020
    2121#------------------------------------------------------------------------------
     
    8585#
    8686    if ($outfile) {
    87         my $newValueHash;
    88         my $newComment = $exifTool->GetNewValues('Comment', \$newValueHash);
     87        my $nvHash;
     88        my $newComment = $exifTool->GetNewValues('Comment', \$nvHash);
    8989        my $oldComment = $info{Comment};
    90         if (Image::ExifTool::IsOverwriting($newValueHash, $oldComment)) {
     90        if (Image::ExifTool::IsOverwriting($nvHash, $oldComment)) {
    9191            ++$exifTool->{CHANGED};
    92             if ($verbose > 1) {
    93                 print $out "    - Comment = '$oldComment'\n" if defined $oldComment;
    94                 print $out "    + Comment = '$newComment'\n" if defined $newComment;
    95             }
     92            $exifTool->VerboseValue('- Comment', $oldComment) if defined $oldComment;
     93            $exifTool->VerboseValue('+ Comment', $newComment) if defined $newComment;
    9694        } else {
    9795            $newComment = $oldComment;  # use existing comment
     
    146144=head1 AUTHOR
    147145
    148 Copyright 2003-2007, Phil Harvey (phil at owl.phy.queensu.ca)
     146Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
    149147
    150148This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.