in reply to RE: Checking to see if a particular Module is installed
in thread Checking to see if a particular Module is installed

Slightly simpler:
eval 'require GD'; if ($@) { # problems with GD, fall back to non-GD } else { # we have GD, go for it! }
There's no point in using use, because you can't affect the compile-time imports at runtime if it's not there!

-- Randal L. Schwartz, Perl hacker