Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: subroutine good practise

by thargas (Deacon)
on Oct 30, 2012 at 12:42 UTC ( #1001495=note: print w/ replies, xml ) Need Help??


in reply to Re^2: subroutine good practise
in thread subroutine good practise

Have you tried measuring how much difference it will make in the run-time and size of the program to just use both modules? I'm very doubtful that this conditional use will buy you a significant amount of anything, but you're the one who can measure what you're doing.

It also seems to me that you'd be better served by moving those "use"s to the code which needs them, which should probably be in different modules.


Comment on Re^3: subroutine good practise

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-11-26 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (174 votes), past polls