Peter Rabbitson wrote:
> {
>    ...
>    on_connect_do => [q/SET SQL_MODE = 'TRADITIONAL'/, q/SET
> SQL_AUTO_IS_NULL = 0/],
>    ...
> }
>   
Thanks Peter, and Ash and Stephen too -- it was the limited index 
length. I found that a 255-character string was fine, but 256 wasn't, 
then it became clear.
Cheers
Lee