You could put the "use" statement inside an eval block. This will let you conditionally include the module and also let you do the version checking.
Update:I didn't realize that op had not tried the version argument to use. I assumed that op wanted to do more things and handle the error. In hindsight, bad assumption.
In reply to Re: How do I require a specific version?
by data64
in thread How do I require a specific version?
by jk2addict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |