I was reading and came across this code:
I put the contents of Image-Size-2.98 under the Image directory.
use lib qw(/home/yrkylady/www/cgi-bin/perl/Image);
eval("use Image::Size 2.98;");
(print("Error: $@"), exit(-1)) if $@;
And when I try to open my file I get this error:
Error: Can't locate Image/Size.pm in @INC (@INC contains:
/home/yrkylady/www/cgi-bin/perl/Image /usr/lib/perl5/5.6.0/i686-linux
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i686-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 5) line
1. BEGIN failed--compilation aborted at (eval 5) line 1.
Did I use the right syntax?
Any suggestions?
Thanks
Tricia