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


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

If the ids were strings, I might use map $dbh->quote($_), @ids, but since they're probably integers, validating that they're /^\d+$/ is probably good enough. Either is also easy.