Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 cooling their heels in the Monastery: (13)
As of 2015-07-30 19:05 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 (273 votes), past polls