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(...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995614]
help
Chatterbox?
Discipulus how tasty are four bit of a carrot?
[choroba]: The correct spelling is caret

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-03-28 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.