The trigger text is longer than the default read buffer size. Add this before your prepare to get the entire trigger text.

$dbh->{LongReadLen} = 65500;
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';