in reply to Stumped by disappearing $sth

'execute' will return status, not the handle.
try $sth->fetchrow_hashref()

Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Replies are listed 'Best First'.
Re^2: Stumped by disappearing $sth
by hesco (Deacon) on May 25, 2009 at 05:14 UTC
    Thanks, mate. I think the sleep deprivation may be catching up with me. I had stared at that one for some time reading right past that.

    -- Hugh

    if( $lal && $lol ) { $life++; }