"which" (and, according to the perldoc, File::Which) will only look in directories in your $PATH, whereas "whereis" will also find binaries which are not in your path.
In reply to Re^3: Searching for Sendmail
by tirwhan
in thread Searching for working Sendmail
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |