Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by bambam (Initiate)
on May 13, 2001 at 06:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://79986]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found