Hello to all
I am new in the perl world. I would like to ask..
I have a C header and I used h2ph to tranform to perl header. How can I use this header in perl programs?
First, you use h2ph to convert the .h file to a .ph file (say my_file.h to my_file.ph), then you use those files by saying, in a Perl script:
require my_file.ph;
It's been a while since I had to do this, most system constants are converted for you in some module or other nowadays -- what exactly are you doing? Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
I have a header for ASN.1 and I would like to use it. Although I found in CPAN a module for ASN.1 and I will try to use it instead of the C. DO you know anything about this.. I will also open a new thread for this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.