|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^8: disable functions if module not installedby ikegami (Pope) |
| on Nov 04, 2008 at 12:20 UTC ( #721365=note: print w/ replies, xml ) | Need Help?? |
|
AUTOLOAD is going into an infinite loop trying to reflect a constant, eating up the entire "C" stack. That's the memory you're running out of. I'm curious as to what is being autloaded. I'd add a print statement to Image/Magick.pm to print out $constname. The immediate cause of the problem is probably $! =~ /Invalid/ returning false when it is intended to return true. I'd add a print statement to Image/Magick.pm to print out (0+$!).":$!". Of course, that's assuming your version of Image::Magick is anything like the latest one. You haven't provided any version info. By the way,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||