Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found