Rosettacode tasks in Perl 6
More
Search
Ctrl + K
Assertions
Copy
my
$a = (1..100).pick;
$a == 42
or
die
'$a ain\'t 42'
;
Previous
Aspect oriented programming
Next
Assertions in design by contract
Last updated
11 months ago