perlnoobster has asked for the wisdom of the Perl Monks concerning the following question:
I want to change it so that the $text[11] could also be $text[12],$text[14],$text[15],$text[19] is this possible? if so how? Thank you!foreach (<$bh>) { my @text=split(/\t/); $bHash{$text[0]} = $text[11]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash Question
by jethro (Monsignor) on Jan 09, 2013 at 11:17 UTC | |
|
Re: Hash Question
by Anonymous Monk on Jan 09, 2013 at 11:03 UTC | |
by perlnoobster (Sexton) on Jan 09, 2013 at 11:08 UTC | |
by choroba (Cardinal) on Jan 09, 2013 at 11:19 UTC | |
by perlnoobster (Sexton) on Jan 09, 2013 at 11:37 UTC | |
by choroba (Cardinal) on Jan 09, 2013 at 11:40 UTC | |
| |
by Anonymous Monk on Jan 09, 2013 at 11:40 UTC | |
by Anonymous Monk on Jan 09, 2013 at 11:11 UTC | |
by perlnoobster (Sexton) on Jan 09, 2013 at 11:23 UTC | |
by Anonymous Monk on Jan 09, 2013 at 11:28 UTC | |
by AnomalousMonk (Archbishop) on Jan 09, 2013 at 11:32 UTC |