in reply to Re^4: How to use a module without installing it?
in thread How to use a module without installing it?

Please correct me if I'm wrong, I never tried it myself...

...but use X implies to require X and to call X->import(LIST), so certainly you can comment out the require, but you still need to import!

see use

Cheers Rolf

Replies are listed 'Best First'.
Re^6: How to use a module without installing it?
by almut (Canon) on Aug 06, 2009 at 00:36 UTC
    ... but you still need to import!

    That's correct — in case you actually want to import anything (or need to pass whatever parameters to the module's import method; or the module insists on having its import method called for some other reason).  OTOH, with many modules (especially OO-style ones) there's no need to import stuff, so there's a good chance you'd get away without calling import...  (I figured the OP would come back in case of problems :)