Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Golf Soccer Stats

by jynx (Priest)
on May 24, 2002 at 18:25 UTC ( #169174=note: print w/ replies, xml ) Need Help??


in reply to Re: Golf Soccer Stats
in thread Golf Soccer Stats


a little rearranging gives 38:

sub stats { #23456789_123456789_123456789_123456789_ $p=pop;$w=int$p/3,-$w-($t=$p%3)+pop,$t }
and removing the $p assignment gets it back to 37:
sub stats2 { #23456789_123456789_123456789_123456789_ $w=int$_[1]/3,-$w-($t=pop()%3)+pop,$t }
jynx


Comment on Re: Re: Golf Soccer Stats
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-07-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls