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.
In reply to Re^2: Students Rank calculation for the below perl script
by moritz
in thread Students Rank calculation for the below perl script
by valavanp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |