Fun with Hashes - was -Re: extracting array info from text file

2002-05-20 Thread drieux
On Monday, May 20, 2002, at 03:34 , [EMAIL PROTECTED] wrote: > Not used hashes before - stuck to simple arrays.. (unix shell scripting > background) the good news is that perl has 'associative arrays' of the form my %hash; $hash{$key} = $val; the bad news is th

Re: extracting array info from text file

2002-05-20 Thread Steven_Massey
02 11:24:13 AM Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: extracting array info from text file [EMAIL PROTECTED] wrote: > Hi All > > I have a textfile comprised of x number races each with x number of runners > eg. > > 13:00

Re: extracting array info from text file

2002-05-20 Thread Sudarsan Raghavan
[EMAIL PROTECTED] wrote: > Hi All > > I have a textfile comprised of x number races each with x number of runners > eg. > > 13:00 > runner1 > runner2 > runner3 > runner4 > > 14:00 > runner1 > runner2 > runner3 > > 15:00 > runner1 > runner2 > > I want to put each race time into seperate array and

RE: extracting array info from text file

2002-05-20 Thread Steven_Massey
) but more guidance in how to create the differing array name/elements. Thanks Steve "Jackson, Harry" <[EMAIL PROTECTED]> on 05/20/2002 10:05:18 AM To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: RE: extracting array info from text fil