in reply to Re^2: Switching Modules as Necessary
in thread Switching Modules as Necessary
I wonder if I could do this in an eval... (scurries off to try)
If you didn't crack it, try this:
print eval{ require version; 1; } ? 'Found it!' : "T'ain't available!" +;; Found it! print eval{ require Does::Not::Exist; 1; } ? 'Found it!' : "T'ain't av +ailable!";; T'ain't available!
|
|---|