I want my code to call some subroutines in a custom module only if that module
exists on the system. I can think of at least three techniques to determine
if the module exists: scan INC, use UNIVERSAL::can (not sure that would
work), or put the code in an eval block. What is the best solution? I think
an eval block sounds right, but I'm not sure. My guess would look something like:
But the use statement of course throws a compiler error, so I think the
appropriate thing is to put this code ...