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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-05-30 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?