Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Program structure: subs vs modules vs Selfloader

by Fletch (Chancellor)
on Jun 20, 2004 at 18:04 UTC ( #368311=note: print w/replies, xml ) Need Help??


in reply to Program structure: subs vs modules vs Selfloader

The difference in compilation overhead between 200 lines and 400 lines is more than likely so negligable that you're probably barking up the wrong tree. If this is in a web context you'd probably get a much better boost by using something like mod_perl or FastCGI.

That aside, yes you probably should see if you can't break things out into smaller subs (at the least). It should be more maintainable in the long run.

  • Comment on Re: Program structure: subs vs modules vs Selfloader

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2020-12-02 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (44 votes). Check out past polls.

    Notices?