in reply to Finding Perl's program PATH

The environment variable PATH contains all paths that have executables, i.e. are searched for executables when you input a command on the command line, it is not the path of the perl executable.

What you want is $^X. See perlvar