[tpm] eval oddness
Liam R E Quin
liam at holoweb.net
Wed Dec 9 20:38:47 PST 2009
On Wed, 2009-12-09 at 22:27 -0500, Dave Doyle wrote:
> Though I'm hardpressed to explain why, using "require" instead of
> "use" seems to be more canonical when dynamically loading modules.
That's because, in general, "use" is compile-time, and "require" is
done at run-time.
If you don't know what module you want until run-time, or
you don't know if a particular module will be needed ,"require"
is a good option.
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
More information about the toronto-pm