> > hi all, > > i want to know if i 'use somemodule' in a perl program how > > does it affect the performance (in terms of being fast) of > > the script ? basically i want to compare the executable speed > > of the program with and without using the module. thanks, KM
In general, it is almost always possible to write faster code by hardcoding everything into the main script....and it will virtually always make your code less flexible and harder to maintain, if it does *anything* complex. Abstraction is generally your friend. [OT]: As a note, I believe from the Llama book (?), practically every program has at least one unnecessary line, and at least one bug. Thus by extrapolation, every program could be reduced to merely one line with a bug. :) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]