Re: [RFC] Switch to make Test::Builder output even if $^C ( for B::C )

2002-01-12 Thread Michael G Schwern
On Tue, Jan 08, 2002 at 11:02:27PM +0100, Mattia Barbon wrote: > > Code inside the BEGIN blocks has $^C set?? Or are they just not being > > run at all? Either of those are bugs. But there's a third > > The code inside the begin blocks has $^C set ( as it should ), and they > are being run >

Re: [PATCH t/run/kill_perl.t t/test.pl] Seperating kill_perl()

2002-01-12 Thread Michael G Schwern
On Fri, Jan 11, 2002 at 05:03:46PM +0200, Jarkko Hietaniemi wrote: > > The name of the function and order of arguments are all up for > > discussion. > > Thanks, applied. > > About the name: I think it's an awful name... doesn't tell me at least > at all what it's for (except maybe for doubling

Re: [PATCH t/run/kill_perl.t t/test.pl] Seperating kill_perl()

2002-01-12 Thread Michael G Schwern
On Fri, Jan 11, 2002 at 05:35:04PM +0200, Jarkko Hietaniemi wrote: > On Fri, Jan 11, 2002 at 05:31:49PM +0200, Jarkko Hietaniemi wrote: > > On Fri, Jan 11, 2002 at 05:18:10PM +0200, Jarkko Hietaniemi wrote: > > > > PS There was also a bug in runperl(). All switches were being lost. > > > > > >

Re: [RFC] Switch to make Test::Builder output even if $^C ( for B::C )

2002-01-12 Thread Michael G Schwern
perlcc seems to be dropping BEGIN blocks entirely, that's the problem. # foo.plx BEGIN { print "foo\n"; } print "bar\n"; $ bleadperl foo.plx foo bar $ perlcc foo.plx $ ./a.out bar The result from the compiled program should be the same as the original. For some reason