Re: output from an array

2002-11-21 Thread Paul Johnson
Jose Malacara said: > Can someone please tell me what I'm doing wrong here? > > I have a data file that looks like this: > > jason,texas,austin > tim,denver,colorado > jose,oregon,portland > > > And a script to update the last field and output the results with the > new city. Without having teste

Re: output from an array

2002-11-21 Thread Sudarshan Raghavan
On 21 Nov 2002, Jose Malacara wrote: > Can someone please tell me what I'm doing wrong here? > > I have a data file that looks like this: > > jason,texas,austin > tim,denver,colorado > jose,oregon,portland > > > And a script to update the last field and output the results with the > new city:

RE: output from an array

2002-11-21 Thread Timothy Johnson
When you print() an array, do not put it in quotes unless you want Perl to put the default record separator between each element of the array. Take out the double-quotes and it will come out the way you want. -Original Message- From: Jose Malacara To: [EMAIL PROTECTED] Sent: 11/20/02 11