Advertisement
cwchen

[Perl 6] Two-dimensional array demo.

Oct 7th, 2017
634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 6 0.07 KB | None | 0 0
  1. my @mtx = (1, 2, 3; 4, 5, 6);
  2.  
  3. @mtx[0;2] == 3 or die "Wrong value";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement