Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 wandering the Monastery: (4)
As of 2014-10-21 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (96 votes), past polls