[Perl 6] Checking the existence of elements with elem
cwchen Nov 8th, 2017 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- my $set= (1, 2, 3, 4, 5).Set;
- 1 (elem) $set or die "Wrong status";
- (10 (elem) $set) == False or die "Wrong status";
RAW Paste Data