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

Re^3: Variable as name of array

by johngg (Abbot)
on Nov 01, 2012 at 22:50 UTC ( #1001880=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -MData::Dumper -E '
    > my @names = qw{ A B C D };
    ...
               'B' => 'B'
             );
    $
    
  2. or download this
    $ perl -Mstrict -Mwarnings -MData::Dumper -E '
    > my @names = qw{ A B C D };
    ...
               'B' => 'B'
             );
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001880]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2017-07-25 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (363 votes). Check out past polls.