Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: no rows returned for dbi fetchall_arrayref

by ruzam (Curate)
on May 08, 2013 at 04:08 UTC ( #1032572=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $result_array  = $sth->fetchall_arrayref;
    
    if (!$result_array) {
       print "query failed!!\n";
    }
    
  2. or download this
    my $result_array = $sth->fetchall_arrayref;
    
    ...
    else {
        print "query failed!!\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2018-10-22 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (119 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!