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; # ... } -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]