RosettaCodeData/Task/Assertions/Perl-6/assertions-1.pl6

3 lines
55 B
Raku
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
my $a = (1..100).pick;
$a == 42 or die '$a ain\'t 42';