[28252] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 9616 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Aug 17 14:10:35 2006

Date: Thu, 17 Aug 2006 11:10:27 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Thu, 17 Aug 2006     Volume: 10 Number: 9616

Today's topics:
        how to define a layer between data and functions bpatton@ti.com
    Re: how to define a layer between data and functions <benmorrow@tiscali.co.uk>
        How to redefine a sub during testing? <socyl@987jk.com.invalid>
    Re: How to redefine a sub during testing? <socyl@987jk.com.invalid>
    Re: HOW to rename a NPH script ? <umu@hrz.tu-chemnitz.de>
    Re: HOW to rename a NPH script ? <mgarrish@gmail.com>
        ip to decimal ip and back uttamhoode@gmail.com
    Re: ip to decimal ip and back <john@castleamber.com>
    Re: ip to decimal ip and back <someone@example.com>
    Re: ip to decimal ip and back uttamhoode@gmail.com
    Re: ip to decimal ip and back <1usa@llenroc.ude.invalid>
    Re: iterate the A B C <benmorrow@tiscali.co.uk>
    Re: iterate the A B C <benmorrow@tiscali.co.uk>
    Re: John Bokma usenet@DavidFilmer.com
    Re: John Bokma <1usa@llenroc.ude.invalid>
    Re: John Bokma usenet@DavidFilmer.com
    Re: John Bokma <john@castleamber.com>
    Re: John Bokma <someone@example.com>
    Re: John Bokma <josef.moellers@fujitsu-siemens.com>
    Re: John Bokma <1usa@llenroc.ude.invalid>
        Makefile.PL requires parameters for Sendmail::Milter <larry.grant.dc@gmail.com>
    Re: Makefile.PL requires parameters for Sendmail::Milte <anfi@onet.eu>
    Re: Makefile.PL requires parameters for Sendmail::Milte <larry.grant.dc@gmail.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: 17 Aug 2006 10:22:35 -0700
From: bpatton@ti.com
Subject: how to define a layer between data and functions
Message-Id: <1155835355.704045.184000@h48g2000cwc.googlegroups.com>

I "think" I have a need to have a layer of something between my data
and the actual calls.

Here's what I percieve as my layers.

1. data.  This is from an excel spread sheet representing design rules
for a process.  Happens to be for Semi-Conductor Integrated circuit.
2. The functions that know how to deal with the keywords represented in
the data.  Such as space, width and area for 3 of the very simple
rules.

In a past life I used CLIPS, an AI tool.  In it there existed rules and
facts.  An engine matched facts with rules and fired the rules.  The
order of firing was random.

This is what I have
data is the facts
subroutines are the rules.

At the very worst and probably the most difficult to maintain would be
the if-then-else structure hundreds, maybe thousands of line long.

I need this to be almost like an event driven GUI, but where the data
drive the program, not where the program looks at the data and drives.
(SOS)

I believe if there were some method to have an engine that would match
data up with functions without to having to manually type all those
if-then-else this would allow me to easily expand the amount of
keywords.

I'm not even sure if I'm asking the right questions.
What i am sure about it this.
 if-then-else would not be easily expandable. a maintence nightmare.
  I need perl for transportability



------------------------------

Date: Thu, 17 Aug 2006 18:28:36 +0100
From: Ben Morrow <benmorrow@tiscali.co.uk>
Subject: Re: how to define a layer between data and functions
Message-Id: <4jler3-6qr.ln1@osiris.mauzo.dyndns.org>


Quoth bpatton@ti.com:
> I believe if there were some method to have an engine that would match
> data up with functions without to having to manually type all those
> if-then-else this would allow me to easily expand the amount of
> keywords.

I don't think I entirely understand what you're asking, but one way of
doing something like this is having a hash of anon subs. That way you
have a main loop that goes through the data, looking each one up in the
hash and executing the given code.

Ben

-- 
                Outside of a dog, a book is a man's best friend.
                Inside of a dog, it's too dark to read.
benmorrow@tiscali.co.uk                                           Groucho Marx


------------------------------

Date: Thu, 17 Aug 2006 15:50:47 +0000 (UTC)
From: kj <socyl@987jk.com.invalid>
Subject: How to redefine a sub during testing?
Message-Id: <ec238n$f4l$1@reader2.panix.com>





During testing it'd often be *very handy* to be able to redefine
a function/subroutine.  (E.g., subroutine Foo::A gets a particular
value from subroutine Foo::B, which in turn performs some elaborate
websearch to get this value; it would simplify the testing of Foo::A
tremendously to be able to replace Foo::B with a simple sub that
returns a hard-coded value, thus decoupling the testing of Foo::A
from the testing of Foo::B.)

When subclassing is an option, that's usually the way to go, but
now I'm dealing with packages that are not using the OO calling
model, so this is not an option.

I'm thinking that there must be some "symbol table surgery" that
I may be able to perform to temporarily replace the original sub
with another one, but I'm a bit shaky on symbol table manipulations.

Be that as it may, any advice on how to redefine the likes of Foo::B
during testing would be much appreciated.

Thanks!

kj

-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.


------------------------------

Date: Thu, 17 Aug 2006 16:11:53 +0000 (UTC)
From: kj <socyl@987jk.com.invalid>
Subject: Re: How to redefine a sub during testing?
Message-Id: <ec24g9$uu$1@reader2.panix.com>


Please disregard the blather below...  (I had forgotten a "use
warnings FATAL => 'all'" in my code...)

kj


In <ec238n$f4l$1@reader2.panix.com> kj <socyl@987jk.com.invalid> writes:





>During testing it'd often be *very handy* to be able to redefine
>a function/subroutine.  (E.g., subroutine Foo::A gets a particular
>value from subroutine Foo::B, which in turn performs some elaborate
>websearch to get this value; it would simplify the testing of Foo::A
>tremendously to be able to replace Foo::B with a simple sub that
>returns a hard-coded value, thus decoupling the testing of Foo::A
>from the testing of Foo::B.)

>When subclassing is an option, that's usually the way to go, but
>now I'm dealing with packages that are not using the OO calling
>model, so this is not an option.

>I'm thinking that there must be some "symbol table surgery" that
>I may be able to perform to temporarily replace the original sub
>with another one, but I'm a bit shaky on symbol table manipulations.

>Be that as it may, any advice on how to redefine the likes of Foo::B
>during testing would be much appreciated.

>Thanks!

>kj

>-- 
>NOTE: In my address everything before the first period is backwards;
>and the last period, and everything after it, should be discarded.
-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.


------------------------------

Date: Thu, 17 Aug 2006 09:58:26 +0200
From: Ulrich Mueller <umu@hrz.tu-chemnitz.de>
Subject: Re: HOW to rename a NPH script ?
Message-Id: <Pine.LNX.4.64.0608170636330.27028@herein.hrz.tu-chemnitz.de>

On Wed, 16 Aug 2006, Matt Garrish wrote:

> 
> Ulrich Mueller wrote:
> 
> > Hallo,
> >
> > I've a NPH perl CGI under apache
> 
> >
> > What possibilities I have to tell apache,
> > that this is still an nph script,
> 
> Just a piece of advice, although your question makes passing reference
> to perl, it's really an apache configuration issue. You're much more
> likely to get the advice you're looking for in an apache group. You
> might hit on someone who knows here, but you're equally likely to hit
> on someone who only half knows, and there'd be no one to tell you what
> they missed.
> 
> Matt
> 

Thanks for the advice though it was not what I was looking for.
http://perl.apache.org/start/index.html
states that "mod_perl is the marriage of Apache and Perl",
so I asked the mother first via alt.apache.configuration.
No answer for two days, so I tried asking the father,
And got "ask the mother!" 
Child seems not to be grown up old enough 
to participate in usenet, is it?
So it seems, I have to try to figure it out myself,
and tell the result both of them...

Inserting "ScriptAlias /hallo /path/to/nph-script/nph-test.cgi"
into httpd.conf is an easy solution if you are allowed to. 
Otherwise maybe Apache::Fake, but haven't tried this yet.
Or maybe very simple... ideas are still welcome,
Ulrich




------------------------------

Date: 17 Aug 2006 03:56:52 -0700
From: "Matt Garrish" <mgarrish@gmail.com>
Subject: Re: HOW to rename a NPH script ?
Message-Id: <1155812212.769529.247210@74g2000cwt.googlegroups.com>


Ulrich Mueller wrote:

> On Wed, 16 Aug 2006, Matt Garrish wrote:
>
> >
> > Ulrich Mueller wrote:
> >
> > > Hallo,
> > >
> > > I've a NPH perl CGI under apache
> >
> > >
> > > What possibilities I have to tell apache,
> > > that this is still an nph script,
> >
> > Just a piece of advice, although your question makes passing reference
> > to perl, it's really an apache configuration issue. You're much more
> > likely to get the advice you're looking for in an apache group. You
> > might hit on someone who knows here, but you're equally likely to hit
> > on someone who only half knows, and there'd be no one to tell you what
> > they missed.
> >
> > Matt
> >
>
> Thanks for the advice though it was not what I was looking for.
> http://perl.apache.org/start/index.html
> states that "mod_perl is the marriage of Apache and Perl",
> so I asked the mother first via alt.apache.configuration.
> No answer for two days, so I tried asking the father,
> And got "ask the mother!"
> Child seems not to be grown up old enough
> to participate in usenet, is it?
> So it seems, I have to try to figure it out myself,
> and tell the result both of them...
>
> Inserting "ScriptAlias /hallo /path/to/nph-script/nph-test.cgi"
> into httpd.conf is an easy solution if you are allowed to.
> Otherwise maybe Apache::Fake, but haven't tried this yet.
> Or maybe very simple... ideas are still welcome,

You didn't quite get the "no one cares about apache configuration here"
part. This is a group to discuss Perl coding problems, and your
question has nothing to do about Perl and everything to do about apache
and configuring nph scripts. If you want to post off-topic questions
don't get all huffy when no one responds. You'd be better off to follow
up in the apache group as that's where most people would look for this
kind of answer.

Matt



------------------------------

Date: 16 Aug 2006 22:13:26 -0700
From: uttamhoode@gmail.com
Subject: ip to decimal ip and back
Message-Id: <1155791606.040608.51790@b28g2000cwb.googlegroups.com>

hi all,
i need a perl script to

1) convert ip address to decimal eg 127.0.0.1 to 2130706433

and

2)decimal to ip address 2130706433 to 127.0.0.1


uttam hoode



------------------------------

Date: 17 Aug 2006 06:15:38 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: ip to decimal ip and back
Message-Id: <Xns9822CD05C480castleamber@130.133.1.4>

uttamhoode@gmail.com wrote:

> hi all,
> i need a perl script to
> 
> 1) convert ip address to decimal eg 127.0.0.1 to 2130706433
> 
> and
> 
> 2)decimal to ip address 2130706433 to 127.0.0.1

http://search.cpan.org/search?query=Net%3A%3AIP&mode=all seems to to 1) 
and with some tweaking maybe 2) as well.

-- 
John                Experienced Perl programmer: http://castleamber.com/

          Perl help, tutorials, and examples: http://johnbokma.com/perl/


------------------------------

Date: Thu, 17 Aug 2006 06:29:50 GMT
From: "John W. Krahn" <someone@example.com>
Subject: Re: ip to decimal ip and back
Message-Id: <y1UEg.8639$Ch.6077@clgrps13>

uttamhoode@gmail.com wrote:
> hi all,
> i need a perl script to
> 
> 1) convert ip address to decimal eg 127.0.0.1 to 2130706433

$ perl -MSocket -le'print unpack q/N/, inet_aton q/127.0.0.1/'
2130706433


> and
> 
> 2)decimal to ip address 2130706433 to 127.0.0.1

$ perl -MSocket -le'print inet_ntoa pack q/N/, 2130706433'
127.0.0.1



John
-- 
use Perl;
program
fulfillment


------------------------------

Date: 17 Aug 2006 02:22:01 -0700
From: uttamhoode@gmail.com
Subject: Re: ip to decimal ip and back
Message-Id: <1155806520.935160.62520@i42g2000cwa.googlegroups.com>

Thanks John,
     i would prefer Socket module to convert the ip address.
Regards,
uttam hoode





John W. Krahn wrote:
> uttamhoode@gmail.com wrote:
> > hi all,
> > i need a perl script to
> >
> > 1) convert ip address to decimal eg 127.0.0.1 to 2130706433
>
> $ perl -MSocket -le'print unpack q/N/, inet_aton q/127.0.0.1/'
> 2130706433
>
>
> > and
> >
> > 2)decimal to ip address 2130706433 to 127.0.0.1
>
> $ perl -MSocket -le'print inet_ntoa pack q/N/, 2130706433'
> 127.0.0.1
> 
> 
> 
> John
> -- 
> use Perl;
> program
> fulfillment



------------------------------

Date: Thu, 17 Aug 2006 11:56:06 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: ip to decimal ip and back
Message-Id: <Xns982250D30ADCDasu1cornelledu@127.0.0.1>

uttamhoode@gmail.com wrote in news:1155806520.935160.62520
@i42g2000cwa.googlegroups.com:

[ Please do not top-pots. Please do not quote sigs. ]

> John W. Krahn wrote:
>> uttamhoode@gmail.com wrote:
>> > hi all,
>> > i need a perl script to
>> >
>> > 1) convert ip address to decimal eg 127.0.0.1 to 2130706433
>>
>> $ perl -MSocket -le'print unpack q/N/, inet_aton q/127.0.0.1/'
>> 2130706433
>>
>>
>> > and
>> >
>> > 2)decimal to ip address 2130706433 to 127.0.0.1
>>
>> $ perl -MSocket -le'print inet_ntoa pack q/N/, 2130706433'
>> 127.0.0.1
 ...

> Thanks John,
>      i would prefer Socket module to convert the ip address.

Your statement above is confusing. John Krahn's code *is* using the 
Socket module. 

Sinan

-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html



------------------------------

Date: Wed, 16 Aug 2006 21:20:05 +0100
From: Ben Morrow <benmorrow@tiscali.co.uk>
Subject: Re: iterate the A B C
Message-Id: <l8bcr3-evb.ln1@osiris.mauzo.dyndns.org>


Quoth "ilany" <ilan.yaniv@gmail.com>:
> Hi All,
> 
> I am trying to find an English letter to do a net use command.

[For future reference, some mention of 'Windows' or 'Windows drive
mapping' would have been useful here, for context. A lot of people here
have never heard of 'net use'.]

Note that you can get a list of currently allocated driver letters with
Win32API::File::getLogicalDrives, and you can map a network share to a
system-assigned letter by calling Win32::NetResource::AddConnection with
$Connection (which should really be called $Flags) set to
CONNECT_REDIRECT but no LocalName member in %NETRESOURCE. See also 
http://windowssdk.msdn.microsoft.com/en-us/library/ms739056.aspx
which is the function that implements AddConnection.

Ben

-- 
"If a book is worth reading when you are six,         * benmorrow@tiscali.co.uk
it is worth reading when you are sixty."  [C.S.Lewis]


------------------------------

Date: Thu, 17 Aug 2006 17:27:06 +0100
From: Ben Morrow <benmorrow@tiscali.co.uk>
Subject: Re: iterate the A B C
Message-Id: <qvher3-k3r.ln1@osiris.mauzo.dyndns.org>

Quoth Ben Morrow <benmorrow@tiscali.co.uk>:
> 
> Quoth "ilany" <ilan.yaniv@gmail.com>:
> > Hi All,
> > 
> > I am trying to find an English letter to do a net use command.
> 
> Note that you can get a list of currently allocated driver letters with
> Win32API::File::getLogicalDrives,

Apologies for replying to myself, but on rereading I've realised that
this reply is completely unsuited to the OP's skill level... :(

For example, you can get the list you want with

    use Win32API::File qw/getLogicalDrives/;

    my %assigned = map { s/:\\$//; ($_, 1) } getLogicalDrives;
    my @free = grep !$assigned{$_}, A..Z;

    # or for just the first free letter

    use List::Util qw/first/;

    my $free = first { !$assigned{$_} } A..Z;

This is a standard Perl technique for finding set difference. You could
also use e.g. Set::Scalar from CPAN.

Ben

-- 
Every twenty-four hours about 34k children die from the effects of poverty.
Meanwhile, the latest estimate is that 2800 people died on 9/11, so it's like
that image, that ghastly, grey-billowing, double-barrelled fall, repeated
twelve times every day. Full of children. [Iain Banks]  benmorrow@tiscali.co.uk


------------------------------

Date: 16 Aug 2006 15:42:59 -0700
From: usenet@DavidFilmer.com
Subject: Re: John Bokma
Message-Id: <1155768179.357607.92050@i3g2000cwc.googlegroups.com>

Matt Garrish wrote:
> Much as it pains me to side with the Bokma, I do try and maintain a
> certain level of consistency in who I attack. This is a forum for
> discussing *perl*, not for launching personal attacks of this nature.

This troll is also somewhat consistent; he flamed Randal (RANDAL!) in
perl.beginners:
   http://tinyurl.com/lqhcn

So it's a consistently a blow-hard hothead multiposting troll.

GG shows that he's only made three posts (including the multipost) and
has contributed nothing but personal attacks.

-- 
David Filmer (http://DavidFilmer.com)



------------------------------

Date: Wed, 16 Aug 2006 23:25:01 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: John Bokma
Message-Id: <Xns9821C59FDA6Aasu1cornelledu@127.0.0.1>

usenet@DavidFilmer.com wrote in news:1155768179.357607.92050
@i3g2000cwc.googlegroups.com:

> Matt Garrish wrote:
>> Much as it pains me to side with the Bokma, I do try and maintain a
>> certain level of consistency in who I attack. This is a forum for
>> discussing *perl*, not for launching personal attacks of this nature.
> 
> This troll is also somewhat consistent; he flamed Randal (RANDAL!) in
> perl.beginners:
>    http://tinyurl.com/lqhcn
> 
> So it's a consistently a blow-hard hothead multiposting troll.
> 
> GG shows that he's only made three posts (including the multipost) and
> has contributed nothing but personal attacks.

My guess is he has done more. Run a whois on his posting address. You'll 
find that he is posting from a block allocated to "North Carolina 
Research and Education Network". Then, do a Google Groups search for 
"randal convicted". You'll find another message just like this one, also 
posted from an IP address owned by NCREN:

<news:1138831289.414235.87160@g44g2000cwa.googlegroups.com>

IIRC, this guy posted other such messages, but they don't seem to exist 
in the archive. 

Just another sicko. I think he is using different ISPs in the same area, 
and those ISP lease blocks from NCREN. 

Sinan
-- 
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html



------------------------------

Date: 16 Aug 2006 16:38:25 -0700
From: usenet@DavidFilmer.com
Subject: Re: John Bokma
Message-Id: <1155771505.047298.157370@m79g2000cwm.googlegroups.com>

A. Sinan Unur wrote:
> Just another sicko.

Its MO seems to be to look at the personal websites in our cutlines and
troll for something it can smear with (even though it's something we
willingly admit publicly).

The odd thing is that folks tend to have higher regard for those who
are willing to publicly admit thier shortcomings (as you, Sinan,
expressed regarding John).  If the troll is trying to wreck people's
image, it is having the opposite effect.

My website (non-website) isn't really much of a website - it's just a
contact page (it's mainly there in case an old friend googles my name
looking for me).  But maybe I'll put something outlandish on it like,
"I'm a convicted child-molester, rapist, wife beater, and axe murderer
who is running this website from a federal prison" and see if this
troll takes the bait.

Well, then again, what's the point?

-- 
David Filmer (http://DavidFilmer.com)



------------------------------

Date: 16 Aug 2006 23:44:27 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: John Bokma
Message-Id: <Xns9821BEA188AEFcastleamber@130.133.1.4>

"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote:

[ Troll ]
 
> My guess is he has done more.

So was mine.

> Run a whois on his posting address. You'll 
> find that he is posting from a block allocated to "North Carolina 
> Research and Education Network". Then, do a Google Groups search for 
> "randal convicted".

I did for the same reason as you just gave, because I recalled a similar 
post quite some time ago, and found your reply in GG :-)

-- 
John Bokma          Freelance software developer
                                &
                    Experienced Perl programmer: http://castleamber.com/


------------------------------

Date: Thu, 17 Aug 2006 05:07:03 GMT
From: "John W. Krahn" <someone@example.com>
Subject: Re: John Bokma
Message-Id: <XPSEg.6283$395.1386@edtnps90>

usenet@DavidFilmer.com wrote:
> Matt Garrish wrote:
>>Much as it pains me to side with the Bokma, I do try and maintain a
>>certain level of consistency in who I attack. This is a forum for
>>discussing *perl*, not for launching personal attacks of this nature.
> 
> This troll is also somewhat consistent; he flamed Randal (RANDAL!) in
> perl.beginners:
>    http://tinyurl.com/lqhcn

Your URL points to a posting on c.l.p.misc, there is no such posting on the
beginners@perl.org mailing list.


John
-- 
use Perl;
program
fulfillment


------------------------------

Date: Thu, 17 Aug 2006 09:09:24 +0200
From: Josef Moellers <josef.moellers@fujitsu-siemens.com>
Subject: Re: John Bokma
Message-Id: <ec14qf$rrr$3@nntp.fujitsu-siemens.com>

minorpre57@alumnidirector.com wrote:
> I'm sick of his constant whining and bitching here. Is anyone else
> surprised by this:
>=20
> http://johnbokma.com/kids/:
> "By the end of February 2003 I lost my recently found job due to being
> emotionally unstable."

IIRC it was Vint Cerf who said that the good thing about Usenet is that=20
you take people's statement for face-value. You don't judge what they=20
say by their skin-colour, their religion, their ethnic group or any=20
handicap they may have.

I have read quite a number of John's postings and they were good=20
postings. So I judge him by what he posted here, not by what he=20
himself(!) writes somewhere else.

If I had found this snippet, I'*d probably have started looking for the=20
irony tags immediately,

Josef

PS The Dutch probably prefer a "Bokma" over a "minorpre57"=20
(http://www.bokma.com ;-).
--=20
Josef M=F6llers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize
						-- T.  Pratchett



------------------------------

Date: Thu, 17 Aug 2006 14:27:38 +0000 (UTC)
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: John Bokma
Message-Id: <Xns98226A68B6BD3asu1cornelledu@132.236.56.8>

"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in 
news:Xns9821C59FDA6Aasu1cornelledu@127.0.0.1:

> Run a whois on his posting address. You'll 
> find that he is posting from a block allocated to "North Carolina 
> Research and Education Network".

Just FYI: I just got a response from the nice people at NCREN, and they 
tell me the posts are coming from a public access PC in a public library. 

Sinan


------------------------------

Date: 17 Aug 2006 04:07:10 -0700
From: "Larry" <larry.grant.dc@gmail.com>
Subject: Makefile.PL requires parameters for Sendmail::Milter
Message-Id: <1155812830.407241.294870@i42g2000cwa.googlegroups.com>

I am trying to install the module Sendmail::Milter.  The Makefile.PL is
unusual in that it requires parameters, namely
"path-to-sendmail-source" and "path-to-sendmail-obj.dir" .  I have no
idea what to give it.  I'm  wondering if this means I need to build
sendmail from source in order to install this module.  Any help would
be greatly appreciated!



------------------------------

Date: Thu, 17 Aug 2006 13:13:15 +0200
From: Andrzej Adam Filip <anfi@onet.eu>
Subject: Re: Makefile.PL requires parameters for Sendmail::Milter
Message-Id: <87irkrd390.fsf@anfi.homeunix.net>

"Larry" <larry.grant.dc@gmail.com> writes:

> I am trying to install the module Sendmail::Milter.  The Makefile.PL is
> unusual in that it requires parameters, namely
> "path-to-sendmail-source" and "path-to-sendmail-obj.dir" .  I have no
> idea what to give it.  I'm  wondering if this means I need to build
> sendmail from source in order to install this module.  Any help would
> be greatly appreciated!

AFAIR the module uses library included in sendmail distribution.

Install sendmail sources from tarbal or install sendmail source package
for your distribution. The module wants to make sure that library used
is "as provided" by sendmail binaries version you use.

-- 
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl


------------------------------

Date: 17 Aug 2006 06:45:50 -0700
From: "Larry" <larry.grant.dc@gmail.com>
Subject: Re: Makefile.PL requires parameters for Sendmail::Milter
Message-Id: <1155822350.421640.237020@m79g2000cwm.googlegroups.com>

Andrzej Adam Filip wrote:
> "Larry" <larry.grant.dc@gmail.com> writes:
>
> > I am trying to install the module Sendmail::Milter.  The Makefile.PL is
> > unusual in that it requires parameters, namely
> > "path-to-sendmail-source" and "path-to-sendmail-obj.dir" .  I have no
> > idea what to give it.  I'm  wondering if this means I need to build
> > sendmail from source in order to install this module.  Any help would
> > be greatly appreciated!
>
> AFAIR the module uses library included in sendmail distribution.
>
> Install sendmail sources from tarbal or install sendmail source package
> for your distribution. The module wants to make sure that library used
> is "as provided" by sendmail binaries version you use.

Hmmm... sorry to be dense, but...
1) Do I need to build sendmail from source?
2) What are the 2 parameters I need to provide to Makefile.PL



------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 9616
***************************************


home help back first fref pref prev next nref lref last post