Skip navigation links

MySQL Forums :: Perl :: How to use mysql variable in perl API?


Advanced Search

How to use mysql variable in perl API?
Posted by: yao xiao ()
Date: February 24, 2010 02:08PM

i am writing a program suing perl API to load file into a mysql database; however, the columns in the file are more than the columns in the table,
so i want to use some dummy variables to retrieve those extra column information, but in mysql, the variable is represented by '@' and '@' means array in perl.

i am just wondering in this case how can i use variable in perl?

i have tried @$var, @{$var}, $@var, none of them works. could anyone help?
Thanks in advance!

Options: ReplyQuote


Subject Written By Posted
How to use mysql variable in perl API? yao xiao 02/24/2010 02:08PM
Re: How to use mysql variable in perl API? Randy Clamons 02/24/2010 03:29PM
Re: How to use mysql variable in perl API? yao xiao 02/24/2010 05:05PM


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.