The error DBD::mysql::st execute failed: called with 26 bind variables when 24 are needed looks like a good clue. Are you sure the lines you are splitting have 24 fields and not 26?
Check how many elements are in the array with print scalar @row, and, as moritz already said, use Data::Dumper to see what that array contains.
|
|---|