in reply to DBI variable argument count

This may be a good moment for you to invest some time in learning to use DBIx::Class and if that is too much for now, have a look at SQL::Abstract which allows a Perl data-structure to be translated into SQL code.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: DBI variable argument count
by anothersmurf (Novice) on Sep 14, 2012 at 12:54 UTC
    No, the SQL statement succeeds from the client. It is a rather simple statement. It is also using ASCII characters. Everything looks right to me still.

    I will check out those modules when I get home. I like DBI and it has worked well for me, however I am trying to learn to write scripts the safer way to protect against SQL attacks and have read repeatedly that this is the way to go about it. :(