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

Re: [MacPerl] SQL Database for Mac




Hmmm.  So if the window isn't open and you write to STDOUT does the data
stream go to a buffer and then when finished gets displayed? If the window is
open when the program begins it writes line by line to STDOUT?  Or is
something else going on?


George


Chris Nandor wrote:

> At 17.34 -0500 1999.01.21, george michel wrote:
> >Just curious, but I noticed that the test script ran 10x slower if the
> >MacPerl
> >output window was visible.  If this is well known, is there a way to force
> >that
> >window to close before running a script?
>
> What do you mean, exactly?
>
> The MacPerl output window being open should never slow things down, AFAIK.
> However, writing to the output window can slow things down.  And writing to
> the window when the window's buffer is full can REALLY slow it down.
>
> You can try close(STDOUT) which won't allow MacPerl to write to it, or you
> could open(STDOUT, ">some file") which would write STDOUT to a file instead
> of a window.  s/STDOUT/STDERR/ and repeat.
>
> --
> Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
> %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch