Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: DBD::SQLite failing to return data?

by erix (Vicar)
on Nov 11, 2010 at 00:04 UTC ( #870736=note: print w/ replies, xml ) Need Help??


in reply to DBD::SQLite failing to return data?

no execute (after prepare)?


Comment on Re: DBD::SQLite failing to return data?
Re^2: DBD::SQLite failing to return data?
by aquarium (Curate) on Nov 11, 2010 at 00:12 UTC
    that was my initial thought also. so what happens if you execute?
    the hardest line to type correctly is: stty erase ^H
Re^2: DBD::SQLite failing to return data?
by BrowserUk (Pope) on Nov 11, 2010 at 00:14 UTC

    Bingo. It's been too long... Many thanks.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      also are you wanting the data fetch loop to always exit using die?..as there's an endless loop.
      the hardest line to type correctly is: stty erase ^H
        also are you wanting the data fetch loop to always exit using die?.

        No. That was just a debugging strategy. In the normal way of things the loop is:

        while( my $data = $sth->fetchrow_arrayref ) { print "$data : @{ $data }"; }

        But doesn't give easy opportunity to output any errstr.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://870736]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-08-31 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls