notepad.exe will always be at $ENV{WINDIR}\notepad.exe. Otherwise, I'm not aware of a module that searches $ENV{PATH} for an executable, but File::Spec together with the -x operator will do.
In reply to Re: File path
by Corion
in thread File path
by Rijwan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |