Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Main routines, unit tests, and sugar

by lee_crites (Scribe)
on Jun 17, 2013 at 18:41 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-19 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found