Re: Lists or hash

2002-01-12 Thread Daniel Gardner
Friday, January 11, 2002, 3:12:19 PM, Scott wrote: > I am reading a file into a list and then formatting it to prepare it for a > mainframe. Currently I read the contents into a list as such: > my @fields = split(/\t/, $record) > and then I call them by $fields[0], etc. > Would it be more bene

RE: Lists or hash

2002-01-12 Thread Jonathan E. Paton
> On Fri, 11 Jan 2002, Hanson, Robert wrote: > > Hashes are slower than arrays, but I don't > > usually worry about those things unless > > performance is an issue. I recommend (others > > will no doubt have different opinions) that > > you use a hash when it makes your life easier... > > in this

RE: Lists or hash

2002-01-11 Thread Scott
On Fri, 11 Jan 2002, Hanson, Robert wrote: > Hashes are slower than arrays, but I don't usually worry about those things > unless performance is an issue. I recommend (others will no doubt have > different opinions) that you use a hash when it makes your life easier... in > this case it might not

RE: Lists or hash

2002-01-11 Thread Hanson, Robert
in the Perl Journal differentiating between them, it might also be on Perl.com. Rob -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 10:12 AM To: [EMAIL PROTECTED] Subject: Lists or hash Thank you to everyone on this list who has been most help

Lists or hash

2002-01-11 Thread Scott
Thank you to everyone on this list who has been most helpful and patient! I was able to track down the Camel Book at a bookstore and I have not stopped reading. I do have a question concerning list and hash and the performance. I am reading a file into a list and then formatting it to prepar