It looks like you should really use a hash instead, and simply look up the values by key instead.
Oh, and please don't interpolate values into SQL, use placeholders instead: What are placeholders in DBI, and why would I want to use them?.
In reply to Re: If condition
by moritz
in thread If condition
by gem555
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |