in reply to Re: Using a module more than once
in thread Using a module more than once

I've never seen a sub ref being passed to use lib before. How does that work?

I also don't see anything in the docs about it. Is it an unintended consequence (accidental feature? :-) or am I just out of date?

Replies are listed 'Best First'.
Re^3: Using a module more than once
by blazar (Canon) on Aug 02, 2005 at 16:34 UTC
    perldoc -f require will explain it better than I ever could. It was a big discovery for me too. Of course you can exploit this feature to do more {bizarre,uselful} things.