The stupid question is the question not asked | |
PerlMonks |
Re: DB search results using DBI...executeby kcott (Archbishop) |
on Mar 05, 2017 at 06:40 UTC ( [id://1183689]=note: print w/replies, xml ) | Need Help?? |
G'day jamroll, Welcome to the Monastery. In scalar context, @array evaluates to the number of elements. In list context, you'll get the actual elements. Instead of concatenating with '.' (which forces scalar context), you can just embed @array within interpolating quotes. Here's an example showing all three of those scenarios:
— Ken
In Section
Seekers of Perl Wisdom
|
|