Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: non-scalar hash key

by McDarren (Abbot)
on Jun 17, 2009 at 10:09 UTC ( #772317=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @foo = qw/1 2 3 4 5 6/;
    my %bar = (
    ...
    my $zonk = \@foo;
    
    print "$bar{$zonk}\n";
    
  2. or download this
    elephants
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772317]
help
Chatterbox?
and a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2018-07-23 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (472 votes). Check out past polls.

    Notices?