Solved

C in Perl ?

Posted on 1998-08-10
3
158 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
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…
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now