Perl: the Markov chain saw | |
PerlMonks |
Re^4: array to stringby jcb (Parson) |
on Oct 14, 2020 at 01:21 UTC ( [id://11122799]=note: print w/replies, xml ) | Need Help?? |
For SELECT COUNT(*) FROM ... and similar queries that can only return a single value in a single row, the selectrow_array method can directly return the desired information, instead of wrapping it into an arrayref. The DBI documentation has more details, including using that method with previously prepared statements.
In Section
Seekers of Perl Wisdom
|
|