in reply to win32::ODBC passing values to Sql statment
q// isn't interpolated - so $a1 (for example) will get passed into the SQL string as (literally) "$a1", not as "nome".
Try changing q// for qq//, which does interpolate variables, and that should hopefully solve the problem.
See perldoc for more info about the string quoting operators.
Hope that helps ..
-- Foxcub
Update: Clarified stuff a little.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: win32::ODBC passing values to Sql statment
by Discipulus (Canon) on Dec 20, 2002 at 13:11 UTC |