Ordering HASH

2006-05-24 Thread sasisekar.krish
Hi I am trying to order the keys of a hash in the order it was added .i.e, I am adding elements in the hash one by one and I want the printing of the hash in the same order what should I do to get this happening I thought of adding a count tag to each key But what can be a simpler solution   Tha

Re: DBI usage question

2006-05-24 Thread Foo Ji-Haw
I usually put in the db username and password during connect(), unless you have some anonymous access set up. What is your backend db server? MS SQL? Wayne Simmons wrote: I have a DBI question, and Active State doesn't manage the perl-DBI list and that list seems more interested in bugs and th

RE: DBI usage question

2006-05-24 Thread Wayne Simmons
> Charles K. Clarkson wrote: > > Wayne Simmons wrote: > > : ref is undefined, as well as when I tried: > : $sth_getTrans->execute($LogDB->quote($curJob)); > : instead of the two step bind/execute > > I didn't test this, but I think plceholders already do > quoting. Perhaps sending a quoted va

RE: DBI usage question

2006-05-24 Thread Charles K. Clarkson
Wayne Simmons wrote: : ref is undefined, as well as when I tried: : $sth_getTrans->execute($LogDB->quote($curJob)); : instead of the two step bind/execute I didn't test this, but I think plceholders already do quoting. Perhaps sending a quoted value is forcing the placeholder to escape the qu

DBI usage question

2006-05-24 Thread Wayne Simmons
I have a DBI question, and Active State doesn't manage the perl-DBI list and that list seems more interested in bugs and this is a usage question, but still I apologize if this should've been sent there instead. I can't get a VERY simple placeholder to work with ODBC: my $LogDB=DBI->connect('dbi: