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
In reply to Re: Finding Perl's program PATH
by jethro
in thread Finding Perl's program PATH
by neutron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |