Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

calculate average from range of hash values (optimize)

by revdiablo (Prior)
on Jul 27, 2003 at 01:00 UTC ( [id://278169]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %hash = (
      100 => '1',
      101 => '23',
    ...
      ...
      200 => '75'
    );
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    
        return $amount / $count;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://278169]
Approved by Albannach
Front-paged by hsmyers
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-26 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found