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
In reply to Re^2: Add current working directory to @INC?
by ihb
in thread Add current working directory to @INC?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |