Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: "Junkyard" Puzzle: Average of Numbers (Newbie approach)

by bambam
on May 13, 2001 at 06:09 UTC ( #79986=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub s{
    push @{$_[0]},0;
    ...
    ${$_[0]}[$#{$_[0]}] /= $#{$_[0]};
    pop @{$_[0]};
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://79986]
help
Chatterbox?
[karlgoethebier]: no saturday night special?
[karlgoethebier]: AKA bla, bla

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-10-21 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?