Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

ethan
  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Thursday April 24, 2003
04:16 AM

patching h2xs

[ #11820 ]

h2xs's inability to include constants from enums into its constant generating cycle has finally made me starting with a patch. David Nichol gave me a little piece of code that does the trick in one of his modules. Unfortunately the patterns involved the \G assertion that I haven't understood up to this day so I had to get rid of them in order to make things work.

First tests show it works quite well. Now I have to find my way around the bleadperl source tree to see how things work together. As it looks, utilities such as h2xs don't come with tests. This is good so I don't have to change anything there. Once I have tested it with more headers and added the appropriate changes to the documentation (there's now a new switch: -e which stands for --omit-enums) I'll confront the perl5porters with a patch.

Hmmh, I wonder whether I have to patch the AUTHORS file as well to get my name into it. Damn, the most important thing is, of course, not mentioned anywhere. ;-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.