Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[vedagiri89]: i need when this issue will come usually
[hippo]: How about mod_perl? Was that installed from the CentOS packge or from source?
[vedagiri89]: from the source
[hippo]: But APR.pm is under vendor_perl in your error message so you are mixing up modules installed from the packager and by hand. That's rarely a good plan.
[vedagiri89]: the prm is..works fine if i run file directly..not working if i run through apache http file
[hippo]: Environments differ.
[vedagiri89]: so, how to fix that differ

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2018-06-19 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?