sub eval-lives-ok
1 | module Test |
1.1 | (Test) sub eval-lives-ok |
Documentation for sub eval-lives-ok
assembled from the following types:
module Test
From Test
(Test) sub eval-lives-ok
Defined as:
multi sub eval-lives-ok(Str , = '')
Marks a test as passed if the given $string
does not throw an exception when eval
ed as code.
The function accepts an optional description of the test.
eval-lives-ok q[my $daenerys-burns = False;die "Oops, Khaleesi now ashes" if $daenerys-burns],"Dany is blood of the dragon";