dragonchild has asked for the wisdom of the Perl Monks concerning the following question:
I would love to proven wrong, though.
Update: I am proven wrong. Shows that you should treat SoPW as a teddy bear, hit Preview instead of Update, and wait 10 minutes. (Could this be a feature request?)
sub flush { my $fh = shift; my $old_fh = select $fh; local $|++; print $fh q{}; select $old_fh; return 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: flushing a filehandle in PurePerl
by ikegami (Patriarch) on Feb 17, 2006 at 16:48 UTC | |
|
Re: flushing a filehandle in PurePerl
by PodMaster (Abbot) on Feb 17, 2006 at 16:07 UTC | |
|
Re: flushing a filehandle in PurePerl
by salva (Canon) on Feb 17, 2006 at 16:05 UTC |