in reply to Re: Adding to @INC
in thread Adding to @INC
use lib dirname($0) ; whats wrong with use lib '.'; ?
I guess the first adds to @INC the dir the script lives in and the second adds to @INC the dir the script was called from, i.e. user's current dir.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Adding to @INC
by LanX (Saint) on May 21, 2019 at 21:21 UTC | |
by bliako (Abbot) on May 21, 2019 at 21:36 UTC |