gzayzay has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to venture in something quit new to me and will like to know if it is possible to call a c-function from a Perl script.
Say I have a VS C project I have created. Included in the VS project I have a function call createSocket(). This c-function when called, triggers a TCP/IP connection with my Perl module say ModuleA. In ModuleA, (that is Perl) can I call a doSomething() c-function that resides in my VS project that will inturn call createSocket().
If it is possible, can any monk kindly demonstrate how I can go about doing that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Call C functions from Perl
by Joost (Canon) on Apr 23, 2008 at 21:31 UTC | |
|
Re: Call C functions from Perl
by mscharrer (Hermit) on Apr 23, 2008 at 21:33 UTC | |
by hardburn (Abbot) on Apr 23, 2008 at 23:28 UTC | |
|
Re: Call C functions from Perl
by BrowserUk (Patriarch) on Apr 23, 2008 at 22:20 UTC | |
|
Re: Call C functions from Perl
by tachyon-II (Chaplain) on Apr 24, 2008 at 00:56 UTC | |
|
Re: Call C functions from Perl
by wade (Pilgrim) on Apr 23, 2008 at 22:18 UTC | |
|
Re: Call C functions from Perl
by jeepj (Scribe) on Apr 24, 2008 at 12:54 UTC |