Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Annoying whitespace(s)...

by Rhys (Pilgrim)
on Sep 05, 2004 at 21:20 UTC ( #388662=note: print w/replies, xml ) Need Help??


in reply to Annoying whitespace(s)...

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:

$Buffer = ' ';

Pretty silly. Just look for this line and remove the space.

--J

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://388662]
help
Chatterbox?
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-02-20 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (295 votes). Check out past polls.