Kyle --

...and then Kyle Babich said...
% 
% What do you mean empty?  I tried it, it works.  When I open the file it
% adds the 1 as the last character of the file.  So when I chop it the 1
% gets deleted.

That's only because you print $content at the end of your script --
you're not really printing the whole file there, but line by line in 
each of your open loops!  Take a look again at my example, and try
printing your $content with a few more surrounding diagnostics (or, 
of course, dive into the debugger and just take a look at it directly).


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg06117/pgp00000.pgp
Description: PGP signature

Reply via email to