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

Re: Initialize an hash with string

by Eliya (Vicar)
on Jun 21, 2012 at 09:41 UTC ( [id://977605]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %inp = (
        KEY1 => 'VALUE1',
    ...
            'VALUE 23'
        }
    )
    
  2. or download this
    my %inp = (
        KEY1 => 'VALUE1',
    ...
            'VALUE 23' => undef
        }
    )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-09-14 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.