The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Whence - Perl implementation/extension of ksh 'whence' builtin

SYNOPSIS

    Whence foo
    Whence '?sh'
    Whence '*stat'
    Whence -f foo\*

DESCRIPTION

This is a Perl implementation of the ksh whence builtin, similar to csh which or bash type -p. It differs from these in two ways: (1) it finds all occurrences of its arguments on PATH rather than just the first and (2) it treats its arguments as patterns, such that Whence cat* will return all commands that start with cat rather than looking for a literal 'cat*'.

AUTHOR

David Boyce <dsbperl AT boyski.com>

COPYRIGHT

Copyright (c) 2000-2002 David Boyce. All rights reserved. This Perl program is free software; you may redistribute and/or modify it under the same terms as Perl itself.

SEE ALSO

perl(1), ksh(1), "perldoc Env::Path"