http://www.perlmonks.org?node_id=256927


in reply to Re: Re: Re: MySQL count with DBI
in thread MySQL count with DBI

In fact you are not: I just skimmed your code too quickly and mis-read the <<SQL as <STDIN> for some reason. My bad.

On the other hand, I *do* think it is much better to avoid allowing an application to receive a SQL statement as a parameter. That opens up lots of scope for problems, but you probably already knew that. :)

Update in bold. Who knew one little word could make it mean the exact opposite of what I intended? :)