Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Students Rank calculation for the below perl script

by moritz (Cardinal)
on Apr 15, 2008 at 08:14 UTC ( [id://680451]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://680451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-19 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found