in reply to Next & Last - Perl's Expect

After it gets EMPTY TABLE and does next, it's going to be expecting a new prompt. Is there one waiting for it, or do you need to send something?

Caution: Contents may have been coded under pressure.