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.


"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


OSUnderdog

In reply to Re: How to use ioctl in perl by osunderdog
in thread How to use ioctl in perl by sanju_631

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.