Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 studying the Monastery: (11)
As of 2014-12-26 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (165 votes), past polls