Perl: the Markov chain saw | |
PerlMonks |
Re^3: disable functions if module not installedby almut (Canon) |
on Nov 03, 2008 at 22:51 UTC ( [id://721235]=note: print w/replies, xml ) | Need Help?? |
almut your code gave me an out of memory too. Weird. Can you just plain load the module with use Image::Magick; (or require Image::Magick;)? In case the machine (or user limit) doesn't provide sufficient memory to load the module (which in theory could be possible), I'd expect that you get "out of memory" either way. An example of one of these block eval's ?
In Section
Seekers of Perl Wisdom
|
|