Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Select COUNT in MySQL

by robartes (Priest)
on Jun 09, 2005 at 08:11 UTC ( #464999=note: print w/ replies, xml ) Need Help??


in reply to Select COUNT in MySQL

$crows is a reference to an array, so you have to dereference it to get at the array elements:

print $code->[0];

See perlref and perlreftut for more information on references in Perl

CU
Robartes-

Comment on Re: Select COUNT in MySQL
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-04-30 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.