Source

scripts / perl6_examples / sigils.pl

Full commit
1
2
3
4
5
6
7
8
9
#!/home/steve/perl6/perl6

my @a = 1, 2, 3;
say @a[0];

my %h = 'key' => 'value';
say %h{ 'key' };

say %h{ key };