Re: Problem with associative array

2001-07-12 Thread Paul
--- jatuporn <[EMAIL PROTECTED]> wrote: > I try to write a program that reads a file with two fields.The first > field is a costumer ID and the second is the costumer name by using " > ! " as a seperator between 2 fields. Store costumer ID as the key and > the costumer name as value into a hash.

Re: Problem with associative array

2001-07-12 Thread Jeff 'japhy' Pinyan
On Jul 12, jatuporn said: >I try to write a program that reads a file with two fields.The first >field is a costumer ID and the second is the costumer name by using " ! >" as a seperator between 2 fields. Store costumer ID as the key and the >costumer name as value into a hash. > >My code is belo

RE: Problem with associative array

2001-07-12 Thread Mooney Christophe-CMOONEY1
Ah -- of course. you need to chomp your $key when you read from STDIN. -Original Message- From: jatuporn [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 9:54 AM To: [EMAIL PROTECTED] Subject: Problem with associative array I try to write a program that reads a file with two fi