FindBin is a standard module that solves this problem. (sort of)
use FindBin qw($Bin); use lib "$Bin/../lib";
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: adding library directories relative to $0
by jeffa
in thread adding library directories relative to $0
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |