in reply to Re^3: adding library directories relative to $0
in thread adding library directories relative to $0
I hope not because switching from $0 to __FILE__ would not help resolve that problem at all. $0 eq __FILE__ in both runs.
In case you missed it, I brought up that problem and posted a solution to it earlier in the thread: swap the order of abs_path and dirname.
He's surely referring to adding to @INC in a file that's loaded using require or do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: adding library directories relative to $0
by wind (Priest) on Feb 23, 2011 at 18:57 UTC | |
|
Re^5: adding library directories relative to $0
by roboticus (Chancellor) on Feb 23, 2011 at 10:29 UTC |