in reply to Weird Happening when i print into a file
Change
print FOUT $_jobcard_basename;
to
print FOUT $_jobcard_basename or die ("Can't write to FOUT: $!\n");
to see what's wrong.
Update: If the print doesn't given an error, add
close(FOUT) or die ("Can't write to FOUT: $!\n");
when you're done with the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Weird Happening when i print into a file
by ikegami (Patriarch) on Oct 27, 2008 at 21:59 UTC | |
by chromatic (Archbishop) on Oct 28, 2008 at 00:36 UTC |