Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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
  • Comment on Re: Main routines, unit tests, and sugar

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2016-10-27 19:08 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (369 votes). Check out past polls.