On 2 August 2010 12:11, Sharan Basappa <sharan.basa...@gmail.com> wrote:
> I am not trying to be critical of perl or anything (if that is what you felt).

I didn't think you were; it didn't come across as criticism.

> I am only trying to see if a certain feature exists or not.
> The current problem I am working on has duplicate key values and hence
> the question.
>
> The STL multipmap library explanation is below:
> http://www.cplusplus.com/reference/stl/multimap/

An equivalent perl construct to an STL multimap is a hash of array references:
my %hash = (
    keyA => [valueA valueC valueF],
    keyB => [valueB valueH],
);

For much more detail, please see the following perldoc pages: perldata
perllol perldsc perlref.

Phil

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to