Jeff 'japhy' Pinyan wrote:

> On Nov 16, R. Joseph Newton said:
>
> >sometimes.  The perfect setup for the great Perl anonymous block:
> >
> >{
> >    $| = 1;
> >    .... do  stuff that really needs to be autoflushed
> >}  # Get things back to normal
>
> I think you want a 'local' in front of that $| line.
>
>   {
>     local $| = 1;
>     # ...
>   }

Yep.  Thanks for the correction.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to