in reply to Appending and empty files
it looks like you are running into a glitch by declaring $TEMPfa a global scalar at the start of the script. It should at least be classified a filehandle# instead of # my $TEMPfa; # create it in scope open (my $TEMPfa, ">", "temp"); #opens temp file
use FileHandle; my $TEMPfa = FileHandle->new;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Appending and empty files
by Jeri (Scribe) on Sep 20, 2011 at 18:45 UTC |