Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: Global symbol "$prepare" requires explicit package name

by hippo (Bishop)
on Sep 19, 2019 at 09:05 UTC ( [id://11106367]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Global symbol "$prepare" requires explicit package name
in thread Global symbol "$prepare" requires explicit package name

I don’t need neither $sth handle for reuse nor the placeholders to re-execute the code

Placeholders are not just beneficial for handle re-use. See eg. Re: What are placeholders in DBI, and why would I want to use them? and the related allusions in Databases made easy. Perhaps your data would otherwise have been incorrectly quoted or incorrectly escaped or be of the wrong type or be in an inadmissible format, etc. Use placeholders or be prepared to explain and justify precisely why you have chosen not to.

  • Comment on Re^5: Global symbol "$prepare" requires explicit package name

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found