MySQL Forums
Forum List  »  Perl

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:

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

Written By
November 14, 2011 10:57AM
Re: Net::MySQL
November 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.