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

Re^2: Determining if a rational number terminates

by trizen (Hermit)
on Dec 25, 2012 at 17:26 UTC ( #1010279=note: print w/replies, xml ) Need Help??


in reply to Re: Determining if a rational number terminates
in thread Determining if a rational number terminates

Shorter still:

perl -E'$_=10;$_/=5until$_%5;say$_&$_-1?N:Y'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010279]
help
Chatterbox?
[james28909]: yeah but it would rename those subs xD
[Lady_Aleena]: I'd say, go back to my scratchpad, and really look at what the 3 subs are doing, then play. Meanwhile, I am going afk for about an hour +/- a few minutes.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2017-05-24 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?