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


in reply to Re: OOP: How to construct multiple instances of a class at once
in thread OOP: How to construct multiple instances of a class at once

Scrubbing for Bobby Tables issues? No, the SQL needs to be written for those issues.

my $sql = 'SELECT user_id, user_name FROM users WHERE user_id IN (' . +join(',', ('?') x @ids) . ')'; #... $sth->execute(@ids);
Especially since perl makes this so trivially easy, as compared to, say, C.