Since the error says the interpreter expects an ARRAY ref, that means the error is in step 1. Examine the code around the line you've given us to determine what you've assigned to $sql. If this is unclear, see perlreftut for an broader introduction to references.
In reply to Re: Array ref error!
by kennethk
in thread Array ref error!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |