In message <email@example.com> firstname.lastname@example.org (Simon Cozens) wrote: > Tom Hughes (lists.p5p): > >> And it shouldn't forget to turn on the execute bit. > >It isn't supposed to. There is code in there to turn it on but it > >obviously hasn't triggered in this case. I think perlcc must have > >decided you were compiling a module rather than a script as it only > >turns on the x bits for scripts. > > More likely due to this: > > chmod $generated_file, 0777 & ~umask if $backend eq "Bytecode"; Oops. The odd thing is I'm sure it worked when I put it in but I must have fouled up the test somehow. A fix is attached... Tom -- Tom Hughes (email@example.com) http://www.compton.nu/ ...How late it is for the time of day!