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

Re: Perl DBI - returning a single value

by runrig (Abbot)
on Sep 25, 2012 at 18:42 UTC ( #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(...


Comment on Re: Perl DBI - returning a single value
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-06 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls