Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Searching for Sendmail

by cosmicperl (Chaplain)
on Feb 16, 2009 at 11:35 UTC ( [id://744043]=note: print w/replies, xml ) Need Help??


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

Maybe 'which' would be better. It does have a cpan module http://search.cpan.org/~pereinar/File-Which-0.05/Which.pm

Replies are listed 'Best First'.
Re^3: Searching for Sendmail
by tirwhan (Abbot) on Feb 16, 2009 at 12:08 UTC

    "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.
      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://744043]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-05-19 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found