pwhich - Pure Perl implementation of which
version 1.16
$ pwhere perl
pwhere is a command-line utility program for finding paths to other programs based on the user's PATH. It is similar to the usually Unix tool `where', and tries to emulate its functionality, but is written purely in Perl (uses the module File::Which), so is portable.
pwhere
PATH
File::Which
Bugs should be reported via the GitHub issue tracker https://github.com/plicease/App-pwhich/issues For other issues, contact the maintainer.
Perl API for pwhich
Guts of this script.
This module does not know about built-in shell commands, as the built-in command which and where usually do.
which
where
This module is fully supported back to Perl 5.8.1. It may work on 5.8.0.
Original author: Per Einar Ellefsen <pereinar@cpan.org>
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Adam Kennedy <adamk@cpan.org>
This software is copyright (c) 2002 by Per Einar Ellefsen <pereinar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::pwhich, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::pwhich
CPAN shell
perl -MCPAN -e shell install App::pwhich
For more information on module installation, please visit the detailed CPAN module installation guide.