On Sat, 4 Jun 2005, Anish Kumar K wrote:
> yeah this is fine. But In the Program I have given like
>
> my $sendmailPath=PATH WHERE IT IS INSTALLED.
>
> In the perl program itself I need to finfd it out
>
> As I don;t want to do it everytime I change it to a new server...
Ah.
Then clearly you nee
On Fri, 3 Jun 2005, John W. Krahn wrote:
> Chris Devers wrote:
> >
> > If you don't have the `locate` database on your system, you're going
> > to have to walk the while filesystem, using something like `find`.
> > Here's one way to do it, but it will be very, very, very slow:
> >
> > $ find /
e of the Mail modules on search.cpan.org.
joe
> - Original Message -
> From: "Chris Devers" <[EMAIL PROTECTED]>
> To: "Anish Kumar K" <[EMAIL PROTECTED]>
> Cc: "Perl Beginners List"
> Sent: Saturday, June 04, 2005 10:39 AM
> Subject: Re: H
Chris Devers wrote:
If you don't have the `locate` database on your system, you're going to
have to walk the while filesystem, using something like `find`. Here's
one way to do it, but it will be very, very, very slow:
> $ find / -type f | grep -v '/.*/.*/.*/.*/'
^
AIL PROTECTED]>
To: "Anish Kumar K" <[EMAIL PROTECTED]>
Cc: "Perl Beginners List"
Sent: Saturday, June 04, 2005 10:39 AM
Subject: Re: How to get the sendmail path
> On Sat, 4 Jun 2005, Anish Kumar K wrote:
>
> > Isn't there a easy way [to find sendmail]
On Sat, 4 Jun 2005, Anish Kumar K wrote:
> Isn't there a easy way [to find sendmail] [question-mark]
If you're on a Unix-ish platform, and the sendmail program is installed
somewhere in your $PATH, the `which` command can help. For instance:
$ which sendmail
/usr/sbin/sendmail
$
Thi
Hi
I wrote a program using send mail for a mail application. In the server I was
testing it sendmail was installed in /usr/bin/sendmail.
But in a different server the path is different. Isn;t there a easy way for
this. Like I need to get the path of the send mail and then assign it. Please
tel