Ing. Branislav Gerzo <[EMAIL PROTECTED]> wrote: : Charles K. Clarkson [CKC], on Wednesday, December 8, 2004 at : 08:32 (-0600) wrote about: : : : What is it representative of? What is the application? : : Will there be only didgits? What is the range of values : : available. : : ok, I rewrote that script a bit, the best solution to me is : using "sorted" hashes, so my final code should looks like: : : #advanced statistics : use strict; : use warnings; : use Tie::Hash::Indexed; : use Data::Dumper; : : my $depth = 8; : : #result should be 'a/b/c/d'; higher in @array -> higher priority
print +(sort @array)[0]; __END__ HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>