Re: Maximum value in Hash

2006-10-02 Thread Andrej Kastrin
John W. Krahn wrote: Andrej Kastrin wrote: Dear all, Hello, I'm looking for simple (and fast) solution to extract maximum value from a hash. I search over the Perl mailing lists, but I didn't find anything usable. One way to do it: my $max; $max < $_ and $max = $_ for valu

Re: Maximum value in Hash

2006-10-02 Thread John W. Krahn
Andrej Kastrin wrote: > Dear all, Hello, > I'm looking for simple (and fast) solution to extract maximum value from > a hash. I search over the Perl mailing lists, but I didn't find anything > usable. One way to do it: my $max; $max < $_ and $max = $_ for values %hash; And another way: my $m

RE: Maximum value in Hash

2006-10-02 Thread Wijaya Edward
m: Andrej Kastrin [mailto:[EMAIL PROTECTED] Sent: Mon 10/2/2006 3:52 PM To: beginners perl Subject: Maximum value in Hash Dear all, I'm looking for simple (and fast) solution to extract maximum value from a hash. Institute For Infocomm Research - Disclaimer -

RE: Maximum value in Hash

2006-10-02 Thread Lee Goddard
in [mailto:[EMAIL PROTECTED] > Sent: Monday, October 02, 2006 8:53 AM > To: beginners perl > Subject: Maximum value in Hash > > Dear all, > > I'm looking for simple (and fast) solution to extract maximum > value from a hash. I search over the Perl mailing list

Maximum value in Hash

2006-10-02 Thread Andrej Kastrin
Dear all, I'm looking for simple (and fast) solution to extract maximum value from a hash. I search over the Perl mailing lists, but I didn't find anything usable. Thanks in advance for any suggestion, Andrej -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI