eval('require Image/Magick.pm'); my $IM = $@ ? 0 : 1; #... if ($IM) { #Some Image::Magick specific code }
In reply to Re: existence check of Module and dynamic load
by Pardus
in thread existence check of Module and dynamic load
by niemeand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |