in reply to Re: slighly newbish question
in thread slighly newbish question

the other script is very simple. it just adds a line based on a template file, then
open (MSG, '>> messages.txt'); print MSG $mess_line; close MSG;

Replies are listed 'Best First'.
Re: Re: Re: slighly newbish question
by pg (Canon) on Nov 17, 2002 at 17:25 UTC
    Those three lines do not help debugging. Better to let us see how you form the $mess_line.
    By the way, you are appending to the end of the old file by sepcifying ">>", but I think that might be just what you want to do. Depends on what you have in the $mess_line, is it "new content only?", or "old+new"?
    Well, difficult to blind debug, give us even those what you thought trival.