On Thu, Aug 14, 2008 at 10:19:55AM -0400, Paul Miller wrote:
> On Wed, Aug 13, 2008 at 3:02 PM, Josef Wolf <[EMAIL PROTECTED]> wrote:
> > On Wed, Aug 13, 2008 at 01:16:39PM -0400, Paul Miller wrote:
> >> Few people actually autosplit anymore.  I think the secret would be to
> >> take the Autoloader out of your new module.pm
> >
> > Thanks for your quick response, Paul!
> >
> > When I omit autoloading via h2xs's -A flag, then my #defines are ignored
> > also because -A implies the -c flag to omit constants.
> >
> > What am I missing here?
> 
> I wouldn't know, I don't normally use h2xs.  I know you're supposed
> to, but I find that it generates a lot of extraneous cruft that you
> don't really need.  When I'm actually processing a header file I do
> use it, but I cut out a lot of the cruft afterwards.

Ugh, how do you know what can be removed without breaking something?

> What I really meant for you to do was comment out the 'use Autoloader'
> line in the generated module text.  I doubt you actually need it.

Yes, this stops the error message and my #defines are still available in
perl.  Thanks for your patience :-)

Reply via email to