|Perl Monk, Perl Meditation|
Re: using 'use' conditionally (require instead of use)by ybiC (Prior)
|on Nov 05, 2002 at 00:50 UTC||Need Help??|
If I'm not mistaken, you want to require instead of use in your eval block. Here's how I did similarly a while back:
If memory serves, I picked that up from something merlyn once said or posted.
striving toward Perl Adept
(it's pronounced "why-bick")
Untested, but perhaps a wee bit cleaner than my original code example: