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