length undef works differently in 5.10 so don't test it
didn't really need too anyway