How to use third party Perl library (ExifTool)?

Status
Not open for further replies.

firenze

New Member
Messages
3
Reaction score
0
Points
0
Hi, I just set up an account and I'm having trouble using this library through a .cgi script.

Here's what I've done:

1. Copied ExifTool into my public-html/ftpuser/ folder
2. Tried to run a script from the same folder (scr.cgi) with the following:
Code:
#!/usr/bin/perl -s
use Image::ExifTool qw(:Public);
my $exifTool = new Image::ExifTool;
but I'm getting the 500 Internal Server Error
Obviously the lib is not installed. So I tried:
Code:
use lib ''/home/firenze/public_html/ftpuser'';
But still the same :(

What I'm trying to do is to have a .cgi script that uses this lib and displays the exif data, but I can't find a way to do that. Help really appreciated. Thanks.
 
Status
Not open for further replies.
Top