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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2017-04-27 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (507 votes). Check out past polls.