in reply to Performing queries with DBI and DBD::MySQL
In addition to what the others said about using "LIKE", I would like to add two things:
| Field1 | Field2 |
|---|---|
| aaa1 | bbb1 |
| aaa2 | bbb2 |
| aaa3 | bbb3 |
Perhaps you should consider fetchall_arrayref instead. For more guidance, you may refer to DBI recipes.@array = ( "aaa1\n", "bbb1\n", "aaa2\n", "bbb2\n", "aaa3\n", "bbb3\n" );
|
|---|