my %hash = (1,2,3,4); say %hash; my %hash2 = (a => 1, b => 2); say %hash2; my %hash3 = (:name('root'), :host('localost')); say %hash3;
my %hash = (1,2,3,4); say %hash; my %hash2 = (a => 1, b => 2); say %hash2; my %hash3 = (:name('root'), :host('localost')); say %hash3;
转载于:https://www.cnblogs.com/perl6/p/6865601.html