sub use-ok
1 | module Test |
1.1 | (Test) sub use-ok |
Documentation for sub use-ok
assembled from the following types:
module Test
From Test
(Test) sub use-ok
Defined as:
multi sub use-ok(Str , = "$code module can be use-d ok")
Marks a test as passed if the given $module
loads correctly.
use-ok 'Full::Qualified::ModuleName';
Since $code
is being turned into an EVAL
, you can also pass arguments:
use-ok 'Full::Qualified::ModuleName :my-argument';