On 13 Mar 2001 19:01:36 PST, Nicholas G. Thornton wrote:

>First problem is -w yelling at me about Mac::InternetConfig.pm around
>lines 500 to 510 and index being resolved to "index" -- I'm wondering
>if there's a patch I don't have, or if I should just put quotes on.

Quotes. These warnings were later fixed in favour of always quoting,
er... what was it? anyway, barewords on the left of "=>" and as hash
index between "{" and "}". MacPerl is rather old, older than that fix,
anyway.

>The second is it apparently freezing up. Though I belive this is a matter of
>STDOUT not being printed till \n (I'm having it print out a period every so
>often showing progress.) So I'm wondering if there's another way to flush STDOUT

Set $| to true. This makes the currently selected filehandle, STDOUT by
default, "piping hot", i.e. there will be no more buffering.

I usually emit my progress indicator through STDERR, which is unbuffered
by default.

-- 
        Bart.

Reply via email to