#!/usr/bin/perl6 use v6; # my %person = ( fname => 'Foo', lname => 'Bar', ); %person{"fname"}.say; %person{"lname"}.say; %person{"email"} = 'foo@bar.com'; %person{"email"}.say;
To install Perl6::Cookbook, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Cookbook
CPAN shell
perl -MCPAN -e shell install Perl6::Cookbook
For more information on module installation, please visit the detailed CPAN module installation guide.