Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: populating a HoA with regexp

by Athanasius (Archbishop)
on Aug 28, 2012 at 15:06 UTC ( [id://990261]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %dfs = map {$_ => ()} @pref;
    
  2. or download this
    $VAR1 = {
              'brain' => 'lung',
              'kidney' => undef
            };
    
  3. or download this
    %dfs = map {$_ => []} @pref;
    
  4. or download this
    %dfs = map {$_ => undef} @pref;
    
  5. or download this
    use strict;
    use warnings;
    
  6. or download this
    Odd number of elements in hash assignment at ... line 6.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://990261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-23 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found