in reply to @INC from $0

use File::Spec; use File::Basename(); use lib File::Basename::dirname( File::Spec->rel2abs( $0 ) ).'/lib';

Here are hints

Re^7: Why does PERL5LIB need to be so verbose? (installstyle sitelib installlib vendorlib INST_ARCH INST_VER userelocatableinc @INC)

Re^2: How do I tell CPAN to use a local lib? (perllib/perl5lib/perl5opt/-Idirectory/-Mblib/sitecustomize.pl )

Re: Why does PERL5LIB need to be so verbose? ( INSTALL_BASE the local::lib way)

Re: cpanm --sudo installs to /root/perl5 instead of /usr File::FindLib , FindBin

and some of these

perl5, perl5::ingy
ToolSet
Syntax::Collector
Toolkit
rig
see perlrun#PERL5OPT , PERLLIB, PERL5LIB
sitecustomize under perlrun#* f*
how to make lexical pragma global, hints ( pl_hints $^H %^H ), taint::all, Re: batch 'use' possible? (perl5.pm Toolset.pm, Syntax::Collector , Toolkit.pm, rig.pm, sitecustomize.pl, PERL5OPT )( load multiple commonly-used favorite modules in a single import expression )

export into / Import::Into