neutron has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to create a program with basic portability and need to identify the program PATH. On my windows system it's C:\Perl\bin\perl.exe
I thought the easiest to determine this would be using $ENV{PATH} but when I do, I get several directories instead of just the one I'm looking for.
Any ideas???
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding Perl's program PATH
by jethro (Monsignor) on Oct 12, 2011 at 21:02 UTC | |
|
Re: Finding Perl's program PATH
by BrowserUk (Patriarch) on Oct 12, 2011 at 21:03 UTC | |
by neutron (Sexton) on Oct 14, 2011 at 14:52 UTC |