The Modular Manual Browser
where(3pm) User Contributed Perl Documentation where(3pm)
OpaL::where - Perl extension for locating system resources.
use OpaL::where qw(which);
OpaL::where is a module for locating system resources.
Which takes a program name and searches for that in the PATH envi-
ronment variable and returns the path to the executable. If no pro-
gram is found with that name undef is returned instead.
This is similar to the program with the same name. See which(1).
$t = "which"("perl");
Ola Lundqvist <olaATinguza.com>
perl v5.8.8 2008-04-07 where(3pm)