note
almut
<blockquote>
<i>almut your code gave me an out of memory too.</i>
</blockquote>
<p> Weird. Can you just plain load the module
with <c>use Image::Magick;</c> (or <c>require Image::Magick;</c>)?
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. </p>
<blockquote>
<i>An example of one of these block eval's ?</i>
</blockquote>
<c>
eval { require Image::Magick };
my $is_magick = $@ ? 0 : 1;
</c>
721195
721233