I need and explanation for this.

2007-08-22 Thread jinto12
Ok im just starting to learn perl. what im basically doing is asking the user for a couple of inputs and then appending in it to a file. but when write them to a file, it writes each input in one line and the next input in the next line, so isnt it supposed to added in a single line? and how can i

Re: I need and explanation for this.

2007-08-22 Thread jinto12
thanks this helps a lot. On Aug 22, 7:11 am, [EMAIL PROTECTED] (Chas Owens) wrote: > On 8/22/07, Paul Lalli <[EMAIL PROTECTED]> wrote: > > > > > On Aug 22, 8:04 am, [EMAIL PROTECTED] (Jeff Pang) wrote: > > > 1) you need a chomp to strip the newline symbol,so it should be, > > > > $x=;chomp $x; > >