[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MacPerl 5.0.5 Can Only A Script Once



> > ... the new version of MacPerl, 5.0.5, can run a script on
> >my Power Macintosh only one time ... If I try the same script again, I get no
> >output.  If I close the MacPerl output console window, it does not reappear
> >with new output when I run the script again. MacPerl 4.1.x worked properly ...
> 
>         [ ... and one message later, Paula Patel reports the same thing ... ]
> 
> Am I right in thinking that the script runs, it's just that the output
> doesn't appear? If so, then I can report that this occurs on my 68K machine
> (a IIci) as well. I've found that setting output to flush immediately, i.e.
> 
>         $|=1;
> 
> seems to help.
This seems similar to a problem with MacPerl 5 and Alpha integration:

Unless you force macperl into the debugger (i bet the immediate flush
would work as well), the output of the perl script is not sent to the
console window (and therefore not returned to alpha).

This seems to be a bug introduced in MacPerl 5, as it works perfectly
under macperl 4.x

rick