in reply to Moving perl from one directory to another.

The default location of perl's library files are usually hard-coded into the perl binary at compile time, but can be changed at run time via the PERL5LIB environment var, the -I perl command line switch, or 'use lib' within a script, for example.