in reply to Re^2: Difference between 'use' and 'require'
in thread Difference between 'use' and 'require'
Ah yes, forgot that one :)
A use anywhere in the code will be evaluated when the code is run compiled, but require - import's can only get evaluated when encoutered - good for when you want one module or another but both have quite a large initialisation overhead which means you only want the one you need.
update D'oh, sorry, meant compile not run.
All code is untested unless otherwise stated.
All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
If in doubt ask.
In Section
Seekers of Perl Wisdom