Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Using map to create a hash/bag from an array

by bart (Canon)
on Dec 18, 2005 at 10:45 UTC ( #517583=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @hash{qw(a b c)} = (1) x 3;
    
  2. or download this
    @hash{qw(a b c)} = ();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://517583]
help
Chatterbox?
[tye]: okay, I know that Unix tracks the original login user (beyond "real UID"). What's a good way to get that in Perl?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-06-23 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.