in reply to Re: How can I get the four highest valued letters in an array?
in thread How can I get the four highest valued letters in an array?

Hi thanos1983,

Thank you for your help. The code given by you has solved my problem.

With deep regards,

  • Comment on Re^2: How can I get the four highest valued letters in an array?

Replies are listed 'Best First'.
Re^3: How can I get the four highest valued letters in an array?
by thanos1983 (Parson) on Jun 01, 2017 at 16:24 UTC

    Hello again supriyoch_2008,

    Thanks for the feedback, just to add something here. All answers of the monks are working, try them, or at least read and understand them for educations purposes.

    Also fellow monk tybalt89 just posted a nice approach Re: How can I get the four highest valued letters in an array?, using grep.

    If I was use you I would create subroutines to test all solution through Benchmark and decide the best approach based on speed. Or decide which one is easier for your to understand and maintain in future.

    Keep up the good work and happy coding. :D

    Seeking for Perl wisdom...on the process of learning...not there...yet!