use lib '.';

Ryan, Martin Martin.Ryan at sensis.com.au
Wed Oct 2 21:15:29 CDT 2002


> > Is the context such that '.' would ever be removed from @INC?
> > That's the only reason I could see for "use lib '.'".
> 
> Nope pay attention to below. 

[ Sits up straight with focused gaze...] :-) 

> The @INC is searched in order.

[ my output deleted ]

> Now . is checked first.

[ Excellent pair of examples where this is relevant deleted ]

Of course!  Thanks for your explanation - I found it very illuminating.

Cheers,
Martin



More information about the Melbourne-pm mailing list