Re: How to Create a hash using SQL 2000

2003-12-16 Thread R. Joseph Newton
Ricardo SIGNES wrote: > [Good points, all] > (b) make %queue an array; if it's really a queue (and you're going to be > shifting work off the bottom) an array is more natural. Then the loop > would read: > while ($sth->fetchrow_hashref) { > push @queue, $_; > } >

Re: How to Create a hash using SQL 2000

2003-12-16 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > I am using activestate version 5.8 on XP with DBI 1.38. I am trying to > return values into an associative array so that I don't keep needing to > connect to the database. I am new to perl and DBI is looking like rocket > science. The code below has been gleaned from the

Re: How to Create a hash using SQL 2000

2003-12-16 Thread Ricardo SIGNES
* [EMAIL PROTECTED] [2003-12-16T07:21:19] > I am using activestate version 5.8 on XP with DBI 1.38. I am trying to > return values into an associative array so that I don't keep needing to > connect to the database. I am new to perl and DBI is looking like rocket > science. The code below has been

How to Create a hash using SQL 2000

2003-12-16 Thread neill . taylor
I am using activestate version 5.8 on XP with DBI 1.38. I am trying to return values into an associative array so that I don't keep needing to connect to the database. I am new to perl and DBI is looking like rocket science. The code below has been gleaned from the Internet so I am not completely