in reply to IO::Tee problem (Well, problem with my brain, anyway)
Your code contains:
open my $read, '<', 'Fanggame.txt'; open my $write, '>>', 'Fanggame.txt';
That is, you open for input and appending for output the same file.
Every time you run the program, you should double the size of your input file. Run it again; how much longer does the file get?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: IO::Tee problem (Well, problem with my brain, anyway)
by pobocks (Chaplain) on Mar 23, 2009 at 16:26 UTC | |
by apl (Monsignor) on Mar 23, 2009 at 17:15 UTC | |
by pobocks (Chaplain) on Mar 23, 2009 at 17:45 UTC |
In Section
Seekers of Perl Wisdom