Skip navigation links

MySQL Forums :: Perl :: Net::MySQL


Advanced Search

Re: Net::MySQL
Posted by: Rick James ()
Date: November 16, 2011 09:46PM

What do you mean by "dynamic"? The methods of Net::MySQL take a string; you could dynamically construct that string.

Note that Perl allows any of these for quoting a literal string:
q{...}
q(...}
'...'

These strings allow interpolation
"SELECT * FROM $table"
qq{SELECT * FROM $table}
qq(SELECT * FROM $table)

There's also "heredocs" that allow or disallow interpolation.

Options: ReplyQuote


Subject Written By Posted
Net::MySQL Lenny Cheng 11/14/2011 10:57AM
Re: Net::MySQL Rick James 11/16/2011 09:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.