Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Searching for Sendmail

by tirwhan (Abbot)
on Feb 16, 2009 at 12:08 UTC ( [id://744054]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Searching for Sendmail
in thread Searching for working Sendmail

"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.


All dogma is stupid.

Replies are listed 'Best First'.
Re^4: Searching for Sendmail
by cosmicperl (Chaplain) on Feb 16, 2009 at 13:45 UTC
    Good point, which is pretty useless if you are just running the command and the shell will check the path anyway.

    It's pretty tempting to write a File::whereis

    Lyle

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://744054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found