in reply to Re: Students Rank calculation for the below perl script
in thread Students Rank calculation for the below perl script

Just two minor remarks:
my $totalmarks = reduce { $a + $b } @marks;

If you resort to List::Util (Which isn't a bad idea at all) you can just as well use sum @marks.

my $fullname   = "";

Since you don't use it, you don't have to declare it.

Replies are listed 'Best First'.
Re^3: Students Rank calculation for the below perl script
by hipowls (Curate) on Apr 15, 2008 at 11:27 UTC