Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Small Perl 6 discoveries IV, hash access

by stevieb (Abbot)
on Oct 05, 2017 at 14:01 UTC ( #1200735=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    The general Subscript rules apply providing shortcuts for lists of lit
    +eral strings, with and without interpolation.
    
    ...
    my $fruit = 'bananas';
    dd %h«oranges "$fruit"»;
    # OUTPUT: «("round", "bendy")␤» 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1200735]
help
Chatterbox?
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-10-23 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (277 votes). Check out past polls.

    Notices?