in reply to use_ok with version number
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use_ok with version number
by happy.barney (Friar) on Nov 26, 2009 at 11:19 UTC | |
by Narveson (Chaplain) on Nov 27, 2009 at 05:20 UTC | |
by happy.barney (Friar) on Nov 27, 2009 at 08:43 UTC |