I think you just need to put a comma between module name and version:
use_ok 'Acme::Stuff', '1.1.2';
(Unlike the regular use statement, use_ok is a subroutine call with arguments)
In reply to Re: use_ok with version number
by almut
in thread use_ok with version number
by Narveson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |