Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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.


Comment on Re^3: OOP: How to construct multiple instances of a class at once
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2015-07-03 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls