in reply to When C<use Module;> *not* the same as C<require Module; import Module;>?
If perlfunc was correct, then calling import Module; would do that, but it often (usually?) doesn't.Can you give an example of that? As in, show how:
anduse That::Module;
set up different symbols in the current package? This would be a useful bug to report and get fixed.BEGIN { require That::Module; import That::Module; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|