Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: "Junkyard" Puzzle: Average of Numbers

by $code or die (Deacon)
on May 13, 2001 at 22:32 UTC ( #80081=note: print w/ replies, xml ) Need Help??


in reply to Re: "Junkyard" Puzzle: Average of Numbers
in thread "Junkyard" Puzzle: Average of Numbers

Hi,

You could make it shorter by taking out the scalar(). @{$_[0]} is already interpretted in scalar context.

$code or die
$ perldoc perldoc
  • Comment on Re: Re: "Junkyard" Puzzle: Average of Numbers

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2016-06-27 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (333 votes). Check out past polls.