Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: organizing program structure

by almut (Canon)
on Jul 22, 2010 at 21:49 UTC ( #850924=note: print w/replies, xml ) Need Help??


in reply to organizing program structure

i've been told i shouldn't use subroutines in perl programs

Kind of unusual advice.  Maybe whoever said so was a fan of object oriented structuring and wanted to make a distinction between normal procedural suboutines and object methods?

Anyhow, feel free to use them as you see fit.

Or, in executive summary style:  subroutines are good, goto is bad ;)

Replies are listed 'Best First'.
Re^2: organizing program structure
by MidLifeXis (Monsignor) on Jul 23, 2010 at 15:06 UTC
    Or, in executive summary style: subroutines are good, goto is bad ;)

    E_TOOVERBOSE: s/ (are|is) / /g :-)

    --MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://850924]
help
Chatterbox?
[Corion]: I have Thursday and Friday off, so then I might get to converting the rough outlines to more articles ;)
[Corion]: But currently, most of the modules are web-related and I don't like to publish two web articles in a row
[Corion]: Maybe I should do the Filter::Simple release on the next weeked - this would give me one more article to milk from this theme

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-04-24 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (437 votes). Check out past polls.