No such thing as a small change | |
PerlMonks |
Re: using 'use' conditionally (require instead of use)by ybiC (Prior) |
on Nov 05, 2002 at 00:50 UTC ( [id://210358]=note: print w/replies, xml ) | 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. cheers, Don striving toward Perl Adept (it's pronounced "why-bick")
Update:
Update: Untested, but perhaps a wee bit cleaner than my original code example:
In Section
Seekers of Perl Wisdom
|
|