Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

certainly has merit

by hding (Chaplain)
on Jul 09, 2002 at 00:19 UTC ( #180358=note: print w/replies, xml ) Need Help??


in reply to A better mod (%) operator?

It is certainly a sensible thing to want. Common Lisp provides this via multiple return values and the functions floor, ceiling, truncate, and round, for example. I'm not enough of a Perl guy to know what the best way to do it in Perl would be.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180358]
help
Chatterbox?
and the universe expands...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-09-25 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (290 votes). Check out past polls.

    Notices?