[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

C in Perl ?

I have a library in C and i need to call functions from
a perl program, how i do it ?
0
mvasquez
Asked:
mvasquez
  • 2
1 Solution
 
b2piCommented:
It's not easy....

Start with

perldoc perlxs

then take a look at

man perlxstut

Finally, you might want to go take a look at Date::DateTime (which was written as a tutorial on how to do just this, IIRC).  Warning, though, perl source code is by nature convoluted and somewhat dense.  Don't expect this to be a trivial task.  You might want to take a good look at

perldoc perlguts


to see if you even have the stomach for it.
0
 
mvasquezAuthor Commented:
He only say me that i see the manual ...
0
 
b2piCommented:
Sometimes, (most of the time) knowing how to do it doesn't get you very far, it's knowing where to look to find out.  

Unless you're willing to hire me at my standard hourly rate (I work on Wall Street), I can't do much more for you.  I've definitely given you a good start.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now