So basicly you want to check for module availability on run-time ? This will work:
eval('require Image/Magick.pm');
my $IM = $@ ? 0 : 1;
#...
if ($IM) {
#Some Image::Magick specific code
}
--
Jaap Karssenberg || Pardus (Larus)? <pardus@cpan.org>
>>>> Zoidberg: So many memories, so many strange fluids gushing out of patients' bodies.... <<<<