Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

5.26 sigil reference syntax in subfunction

by chenhonkhonk (Acolyte)
on Oct 31, 2017 at 21:51 UTC ( #1202480=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $$hash{'key1'}{"$var2"} = $value;
    
  2. or download this
    $$hash->{'key1'}->{"$var2"} = $value;
    
  3. or download this
    foreach $key (keys %$hash{'key1'}->%* ){
        print "$key\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1202480]
Approved by marto
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2019-09-20 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (253 votes). Check out past polls.

    Notices?