Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Help with pushing into a hash

by Kenosis (Priest)
on Aug 30, 2012 at 17:16 UTC ( #990801=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %data = map { /(.+)\s+\|\s+(.+)/; $1 => $2 } read_file $test2;
    
  2. or download this
    my %data = map {s/\.\d+//g; /(.+)\s+\|\s+(.+)/; $1 => $2 } read_file $
    +test2;
    
  3. or download this
    Q197F8 IIV3-002R PF04947
    Q91G88 IIV6-006L PF01486 PF00319
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-10-02 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls