Please see the module File::Which.
use strict; use warnings; use File::Which; my $path = which('notepad.exe'); print $path; output: ------- C:\WINDOWS\system32\notepad.exe
update: It will search only executable files, not all files. :-(
Prasad
In reply to Re: File path
by prasadbabu
in thread File path
by Rijwan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |