develooper Front page | perl.perl5.porters | Postings from May 2004

Re: [perl #29623] Patch for h2xs.t in Perl 5.8.4

Thread Previous | Thread Next
From:
Mats Peterson
Date:
May 18, 2004 07:04
Subject:
Re: [perl #29623] Patch for h2xs.t in Perl 5.8.4
Message ID:
200405181331.i4IDVPtC092190@pc10.snowbee.foo
Thanks. Yes, that seems really weird indeed.
Logically it shouldn't work to place arguments in the middle of
options should it? I mean, it's common practice to put the arguments
after the options... oh well.
I hope you'll solve that problem, it's over my head:)

Regards,
Mats

> What I don't explain, is, why does this test work for me ? I can see
> that h2xs uses Getopt::Long with the configuration option pass_through,
> so your patch looks fine, but it may only hide a deeper bug.
>
> > *** h2xs.t.orig	Tue Aug 12 11:42:37 2003
> > --- h2xs.t	Sun May 16 15:13:38 2004
> > ***************
> > *** 117,123 ****
> >   Writing $name/MANIFEST
> >   EONOXSFILES
> >   
> > ! "-f -n $name $header -b $thisversion", $], <<"EOXSFILES",
> >   Writing $name/ppport.h
> >   Writing $name/lib/$name.pm
> >   Writing $name/$name.xs
> > --- 117,123 ----
> >   Writing $name/MANIFEST
> >   EONOXSFILES
> >   
> > ! "-f -n $name -b $thisversion $header", $], <<"EOXSFILES",
> >   Writing $name/ppport.h
> >   Writing $name/lib/$name.pm
> >   Writing $name/$name.xs
>
>
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About