in reply to Perl 6, defining a hash with interpolated string
use v6; my $item = :[:[:[$hkey]]]; say $item.perl; # outputs [[["somekey"]]]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl 6, defining a hash with interpolated string
by Mr_Micawber (Beadle) on Aug 04, 2010 at 19:12 UTC | |
by molecules (Monk) on Aug 04, 2010 at 20:32 UTC | |
by Mr_Micawber (Beadle) on Aug 04, 2010 at 21:23 UTC | |
by molecules (Monk) on Aug 05, 2010 at 11:53 UTC | |
by Mr_Micawber (Beadle) on Aug 05, 2010 at 12:41 UTC | |
|