Image-ExifTool - Can't locate Image ExifTool.pm in @INC

Posted on Fri Oct 10 22:16:51 2008 by makeithappen
Can't locate Image ExifTool.pm in @INC
Hi Phil, After playing with the ExifTool command line instructions I'm trying to understand how the perl library module works ( note: I don't know a thing about perl ). From what I gathered from the ExifTool manual and forum here's what I've got:
file: testing20.pl
#!/usr/bin/perl use Image::ExifTool; my $exifTool = new Image::ExifTool; $exifTool->SetNewValue(Author => 'The Author'); $exifTool->WriteInfo('testing20.pdf'); $errorMessage = $exifTool->GetValue('Error'); $warningMessage = $exifTool->GetValue('Warning');

perl testing20.pl
Can't locate Image/ExifTool.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/loc +al/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/loc +al/lib/site_perl .) at testing20.pl line 2. BEGIN failed--compilation aborted at testing20.pl line 2.

I searched google for this error but couldn't find something which I understood.
What's missing please ?
Thanks, Jean
Direct Responses: 9021 | Write a response