HOWTO Build a .pm File

--===============0416008825==
Content-Type: multipart/alternative;
boundary="----=_Part_133087_1811238.1218921587347"

------=_Part_133087_1811238.1218921587347
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

About a week ago, I posted a request for guidance in building a .pm file to
do some testing with an existing CPAN module, mail::transport::dbx. Having
received no response, I'm thinking I may have been too verbose. TOO MUCH
INFORMATION.

So, more simply put...

I want to test a package that will consist of three C programs and a perl
program that makes use of the C code. Can someone point me to documentation
that explains the steps needed to buld a .pm file from those components?
(I've compiled the C programs and created object modules.)

TIA,

Phil

------=_Part_133087_1811238.1218921587347
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>About a week ago, I posted a request for guidance in building a .pm file to <br>do some testing with an existing CPAN module, mail::transport::dbx. Having <br>received no response, I'm thinking I may have been too verbose. TOO MUCH <br>
INFORMATION.</div>
<div><br>So, more simply put...<br><br>I want to test a package that will consist of three C programs and a perl <br>program that makes use of the C code. Can someone point me to documentation <br>that explains the steps needed to buld a .pm file from those components? <br>
(I've compiled the C programs and created object modules.)<br><br>TIA,<br><br>Phil<br><br> </div>

------=_Part_133087_1811238.1218921587347--

--===============0416008825==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0416008825==--
Phillip Richcreek [ Sa, 16 August 2008 23:19 ] [ ID #1964423 ]

Re: HOWTO Build a .pm File

On Aug 16, 2008, at 23:19, Phillip Richcreek wrote:

> About a week ago, I posted a request for guidance in building a .pm
> file to
> do some testing with an existing CPAN module, mail::transport::dbx.
> Having
> received no response, I'm thinking I may have been too verbose. TOO
> MUCH
> INFORMATION.
>
> So, more simply put...
>
> I want to test a package that will consist of three C programs and
> a perl
> program that makes use of the C code. Can someone point me to
> documentation
> that explains the steps needed to buld a .pm file from those
> components?
> (I've compiled the C programs and created object modules.)

I did not read your original request, but it's still a bit hard to
answer your question because it's not clear what you want to do from
your description. Perl can interface to C programs by invoking them
using the system(), readpipe() or open() functions. Read the
'perlipc' document for more information about this style of interaction.

Perl can also interface directly to C libraries with some work.
Usually this is done by describing the mapping between perl and C
using the XS language described in the 'perlxs' document. You find a
more gentle introduction in 'perlxstut'.

Regards,
Gisle

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Gisle Aas [ Mo, 18 August 2008 10:42 ] [ ID #1964533 ]
Perl » gmane.comp.lang.perl.active-perl » HOWTO Build a .pm File

Vorheriges Thema: kill 0 doesn't work?
Nächstes Thema: UTC time conversion to local time