Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Critique

by ysth (Canon)
on Dec 08, 2003 at 00:19 UTC ( [id://312987]=note: print w/replies, xml ) Need Help??


in reply to Re: Critique
in thread Critique

If we get rid of the clunky way too long variable names and use simple $m and $y, we can have:
sub get_days{$m-2?30+($m*3%7<4):28+!($y%4||$y%400*!($y%100))}
And if we ask really nicely, bart may write it in 68k assembler for us :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-24 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found