Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Annoying whitespace(s)...by Rhys (Pilgrim) |
on Sep 05, 2004 at 21:20 UTC ( [id://388662]=note: print w/replies, xml ) | Need Help?? |
It's because it doesn't append to the file. It reads the entire file, then writes the entire file and writes the new addy after re-writing the previous contents.
The space gets in there because the author uses $Buffer to hold the previous contents. $Buffer is initialized with:
Pretty silly. Just look for this line and remove the space. --J
In Section
Seekers of Perl Wisdom
|
|