![]() |
|
P is for Practical | |
PerlMonks |
Re^3: Totally Befuddled With (Lack of) Text Outputby sgifford (Prior) |
on Sep 12, 2008 at 19:54 UTC ( #710996=note: print w/replies, xml ) | Need Help?? |
You might also want to check that the print is succeeding; one possibility would be a full disk or a quota error resulting in not writing the whole thing. Check the close, too; sometimes output errors are deferred to the close (when all the buffers are flushed).
Also check the size of the file to make sure it's what you expect. It's possible for certain control characters to sneak into a file and make it look different on the screen than what's actually on the disk (like ^H). Hope this helps!
In Section
Seekers of Perl Wisdom
|
|