Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl DBI - returning a single value

by runrig (Abbot)
on Sep 25, 2012 at 18:42 UTC ( [id://995614]=note: print w/replies, xml ) Need Help??


in reply to Perl DBI - returning a single value

my $Count_A_ANY = $dbh_B->selectall_arrayref(...

If you are only fetching one row then:

my ($Count_A_ANY) = $dbh_B->selectrow_array(...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-18 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found