in reply to Re^3: @INC from $0
in thread @INC from $0
Then wrap it in a BEGIN block.
Same issue BEGIN{($_ = $0) =~ s[[\\/][^\\/]+$][]; use lib $_;}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: @INC from $0
by Discipulus (Canon) on Jul 24, 2015 at 07:51 UTC | |
by afoken (Chancellor) on Jul 24, 2015 at 08:15 UTC | |
Re^5: @INC from $0
by Anonymous Monk on Jul 24, 2015 at 02:33 UTC |