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

Re: Main routines, unit tests, and sugar

by lee_crites (Beadle)
on Jun 17, 2013 at 18:41 UTC ( #1039443=note: print w/ replies, xml ) Need Help??


in reply to Main routines, unit tests, and sugar

I designed my own coding style to answer this issue for myself. Mine is the "main is the last code in the file" option, as already suggested by others.

I upvoted this for one reason: seeing someone work through an issue and find an appropriate, personally meaningful, solution is always a good thing!

Lee Crites
lee@critesclan.com


Comment on Re: Main routines, unit tests, and sugar

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-07-03 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls