sub unlike
1 | module Test |
1.1 | (Test) sub unlike |
Documentation for sub unlike
assembled from the following types:
module Test
From Test
(Test) sub unlike
Defined as:
multi sub unlike(Str() , Regex , = "text does not match $expected.perl()")
Used this way:
unlike 'foo', /bar/, 'foo does not look like bar';
Marks a test as passed if the $value
, when coerced to a string, does not match the $expected-regex
. The function accepts an optional description of the test, which defaults to printing the text that did not match.