Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: A better mod (%) operator?

by shotgunefx (Parson)
on Jul 09, 2002 at 10:37 UTC ( #180442=note: print w/replies, xml ) Need Help??


in reply to A better mod (%) operator?

You could look at Filter::Simple as well. Then you could swap
($m,$s) = $i /% 60 with ($m,$s) = div_mod($i,60).

Though trying to parse the left hand side of /% for anything that would constitute a valid expression would be a real pain.

-Lee

"To be civilized is to deny one's nature."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2020-11-26 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?