in reply to perl -c and use lib

perl -I/path/to/libs -c perlprog
or
set the env var PERL5LIB