in reply to Re: construct a standard object oriented program
in thread construct a standard object oriented program

h2xs , oh what is it??
mm, i haven't hear before !

i try to execute the command... wor, it seems quite difficult for me ~ hehe , is there any example for h2xs? thx!

  • Comment on Re: Re: construct a standard object oriented program

Replies are listed 'Best First'.
(jeffa) 3Re: construct a standard object oriented program
by jeffa (Bishop) on Mar 30, 2002 at 18:22 UTC
    "h2xs builds a Perl extension from C header files"

    That's what 'man h2xs' says - you should read it for yourself, but in the meantime, try this command:

    h2xs -A -X FooBar
    And look inside the newly created directory (FooBar) for a pleasant surprise. ;)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)