Hello,

When using modules, is it better to say 'use
Foo::Bar;' rather than 'require'.  Also I've noticed
that some people put their 'use' or 'require'
statements in subroutines and not at the beginning of
the program - what benefits does this serve - conserve
memory because as soon as you've left the routine the
module goes bye bye (guessing)??  But surely the
library would have to compile everytime the subroutine
would be called and therefore slow the program down
somewhat (again, guessing).

Thanks for your help.

Ray Murphy.

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to