Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: organizing program structure

by BrowserUk (Pope)
on Jul 22, 2010 at 21:51 UTC ( #850926=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

Whomever told you that, either doesn't know what they're talking about; or you've misunderstood them. The latter conclusion seems possible as you seem to equate subroutines with "gotos"; which are quite separate things.

Perhaps you could write and post a ~20 line program that uses a subroutine. We might then be able to get to the bottom of the confusion.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://850926]
help
Chatterbox?
and the shadows deepen...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2018-07-23 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (459 votes). Check out past polls.

    Notices?