in reply to How to use ioctl in perl
Ah. The light bulb went off. I haven't seen the .ph extension before. It's an output from the command h2ph
Here is a snipped from the man on h2ph.
h2ph converts any C header files specified to the corresponding Perl header file format. It is most easily run while in /usr/includ +e: cd /usr/include; h2ph * sys/* or cd /usr/include; h2ph * sys/* arpa/* netinet/* or cd /usr/include; h2ph -r -l . The output files are placed in the hierarchy rooted at Perl's a +rchitec- ture dependent library directory. You can specify a different +hierar- chy with a -d switch. If run with no arguments, filters standard input to standard ou +tput.
I haven't used h2ph before. This probably hasn't been run on your perl install so that's why file you are trying to require is missing. So you'll need to run this command on the headers that you're interested in using. Pretty low level stuff.
Again, a description of what you are trying to do would probably net you more feedback on Perlmonks.
|
|---|