How about if you perform a use function inside of an eval, like this: if (eval("use GD")) { } else { } This will execute the eval statement as a seperate perl program and if works it will return true.
- p u n k k i d
"Reality is merely an illusion,
albeit a very persistent one."
-Albert Einstein
Comment on Re: Checking to see if a particular Module is installed