ImJustAFriend has asked for the wisdom of the Perl Monks concerning the following question:
So now I have a duplicate value situation. Here is my relevant code at this point:key_a = abc123 key_a = abc456
How would I handle the multivalue needs in this structure. I am open to just about anything... thank you!!foreach my $bline (@blocklines) { print DEBUG "bline: \"$bline\"\n"; my ($k, $v) = split '=', $bline; $kvhash{$k} = $v; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need Your Help Quickly, Please - Hash Issues
by Corion (Patriarch) on Jan 10, 2019 at 13:27 UTC | |
|
Re: Need Your Help Quickly, Please - Hash Issues
by Tux (Canon) on Jan 10, 2019 at 13:27 UTC | |
by ImJustAFriend (Scribe) on Jan 10, 2019 at 14:10 UTC | |
|
Re: Need Your Help Quickly, Please - Hash Issues
by BillKSmith (Monsignor) on Jan 11, 2019 at 04:51 UTC | |
|
Re: Need Your Help Quickly, Please - Hash Issues
by 1nickt (Canon) on Jan 10, 2019 at 14:46 UTC | |
|
Re: Need Your Help Quickly, Please - Hash Issues
by LanX (Saint) on Jan 10, 2019 at 15:52 UTC |