Posted: 2006-11-22T20:47:16-07:00
@INC is the perl module search path, meaning perl can't resolve the "use ImageMagick" line pf the perl script. This can be resolve by either setting an environment variable PERL5LIB, before running the perl script, OR, adding a line...
I have used both in various projects.
For example in another (non-IM) project I use...and it works well.
Code: Select all
use lib "/path/to/imagemagick/perl/module/directory";
For example in another (non-IM) project I use...
Code: Select all
use lib (getpwnam('duty'))[7] . '/acctdb/perl-lib';
use strict;
use AcctDB qw( db_user db_uid db_gid bin_dir dist_dir pgp_dir );