in reply to Re^2: How does @INC get set?
in thread How does @INC get set?
You could try to figure out if it is Image::Magick that is missing, or if it is some dependency. "PerlMagic" was the parent-poster's way of pointing out that there is a library called "ImageMagick", but that it is separate from the Perl module "Image::Magick".
You might try this quickie script to dump the actual error to your browser:
#!/usr/bin/perl BEGIN { require POSIX; local $SIG{__DIE__} = sub { print "Content-type: text/plain\n\n@_"; POSIX::_exit(0); #Needed to prevent HTTP/500 Error }; require Image::Magick; Image::Magick->import(); }
That should result in a message that looks something like
Can't locate Image/Magick.pm in @INC (@INC contains: C:\Perl\lib\ C:/Perl/lib C:/Perl/site/lib .) at test-magick.pl line 1.
Appearring in your browser. It should give you some idea if Image::Magick is missing (like in the message above), or if one of its dependencies is gone.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How does @INC get set?
by Bone_Scavenger (Novice) on Nov 12, 2004 at 01:26 UTC | |
by radiantmatrix (Parson) on Nov 12, 2004 at 14:07 UTC |