Solved

C in Perl ?

Posted on 1998-08-10
3
161 Views
Last Modified: 2010-03-05
I have a library in C and i need to call functions from
a perl program, how i do it ?
0
Comment
Question by:mvasquez
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 50 total points
ID: 1209186
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
 

Author Comment

by:mvasquez
ID: 1209187
He only say me that i see the manual ...
0
 
LVL 5

Expert Comment

by:b2pi
ID: 1209188
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question