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

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 romping around the Monastery: (7)
As of 2015-11-28 20:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls