in reply to Autoflush/Buffer Problem
This is, according to the Tie::File documetation,... my $input = $mw->getOpenFile(); open FILE, ">$input" or die $!; FILE->autoflush(1); ... tie @lines, 'Tie::File', $input or die $!; ...
From your code fragment posted it can be seen... open FILE, ">$input" or die $!; tie @array, 'Tie::File', \*FILE, ...; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Autoflush/Buffer Problem
by iSina (Acolyte) on Oct 08, 2007 at 01:13 UTC |