Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^11: Hash Question

by perlnoobster (Sexton)
on Jan 09, 2013 at 14:10 UTC ( #1012495=note: print w/ replies, xml ) Need Help??


in reply to Re^10: Hash Question
in thread Hash Question

That's strange, even if I use just the original column i.e. 11 the results are generated but not correctly:

foreach (<$ah>) { my @text = split(/\t/); for my $value (@text[11]) { if ($bHash{ $text[3] } eq $value) { $bHash{ $text[0] } = $value; last; } print OUT2 join( "\t", @text[1,2,3,4,11,5,6,8,7,11,12]),"\t1\t1\n" +; } } close $ah;


Comment on Re^11: Hash Question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-07-29 20:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls