Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Program structure: subs vs modules vs Selfloader

by Fletch (Bishop)
on Jun 20, 2004 at 18:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2024-04-23 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found