Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Perl 6, defining a hash with interpolated string

by molecules (Monk)
on Aug 04, 2010 at 20:32 UTC ( #852965=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v6;
    
    ...
    my %kv4  = "$var4",'LiteralValue';
    
    say :%kv4.perl;
    
  2. or download this
    "kv1" => {"LiteralKey" => "LiteralValue"}
    "kv2" => {"LiteralKey" => "LiteralValue"}
    "kv3" => {"Literalkey" => "LiteralValue"}
    "kv4" => {"LiteralKey" => "LiteralValue"}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://852965]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2014-07-14 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (255 votes), past polls