Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: OOP: How to construct multiple instances of a class at once

by runrig (Abbot)
on Nov 15, 2012 at 16:18 UTC ( #1004035=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004035]
help
Chatterbox?
[james28909]: is this acceptable? Re: Iterate multiple arrays with added text
[james28909]: wooo im a 1337 hax0r!!!1!1

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2017-05-23 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?