Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Duplicate Results from Subroutine

by dbuckhal (Chaplain)
on May 24, 2013 at 06:03 UTC ( [id://1035069]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub avg
    {
        my $len1 = $#numlist + 1;
        return total(@numlist) / $len1;
    }
    
  2. or download this
        my $len1 = @numlist;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-25 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found