From: [EMAIL PROTECTED] > 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:
If the Size.pm is in /home/yrkylady/www/cgi-bin/perl/Image/ directory then the use lib statement should look like this: use lib qw(/home/yrkylady/www/cgi-bin/perl); Notice that the "Image" is NOT included in the path. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]