Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: perl file formatting

by hippo (Bishop)
on Dec 23, 2016 at 09:41 UTC ( [id://1178424]=note: print w/replies, xml ) Need Help??


in reply to perl file formatting

Any ideas please
  1. Write tests - lots of them. Dates are tricky, illogical things (months have varying numbers of days, timezones affect what the current date is, remember about leap years, etc.).
  2. Construct an algorithm to produce the desired output.
  3. Code up the algorithm.
  4. Run the tests and adjust the code and/or algorithm until they all pass.

Which specific part of all this are you having trouble with?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-26 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found