in reply to Re: Add current working directory to @INC?
in thread Add current working directory to @INC?

lib does more than just unshifting. Amongst others, it also removes trailing identical elements.

Note that thus giving lib something that already exists in @INC will move it to the beginning.

Under taint mode, "." is not in @INC.

ihb