Re: selectrow_hashref in DBI 1.32 doesn't always return a hashref

2003-02-16 Thread Craig Sanders
On Sat, Feb 15, 2003 at 12:56:09PM +, Tim Bunce wrote: > On Sat, Feb 15, 2003 at 11:23:13AM +1100, Craig Sanders wrote: > > so, it looks like in plain perl selectrow_hashref returns undef when the > > record doesn't exist, but in HTML::Mason it returns the scalar '1&

Re: selectrow_hashref in DBI 1.32 doesn't always return a hashref

2003-02-15 Thread Craig Sanders
On Sat, Feb 15, 2003 at 10:51:14AM +1100, Craig Sanders wrote: > On Fri, Feb 14, 2003 at 11:05:19AM +, Tim Bunce wrote: > > Can you post an example script that calls selectrow_hashref and > > demonstrates the problem? > > the application is written in HTML::Mason, so all

Re: selectrow_hashref in DBI 1.32 doesn't always return a hashref

2003-02-15 Thread Craig Sanders
re--- link id numbers 2,4,5 & 6 exist in the database. 100, 101, and 120 don't. all is fine until the script attempts to fetch the first non-existent record (id 100). when that happens, selectrow_hashref returns the scalar "1" rather than a hashref. [Fri Feb 14 11:39:40 2003] null: QR

selectrow_hashref in DBI 1.32 doesn't always return a hashref

2003-02-14 Thread Craig Sanders
onsequences, but it stops my scripts from dying until a real fix is available. craig -- craig sanders <[EMAIL PROTECTED]> Fabricati Diem, PVNC. -- motto of the Ankh-Morpork City Watch