in reply to Not an ARRAY reference

Maybe you need this:

push @responsetextall, \@responsetext;

Replies are listed 'Best First'.
Re^2: Not an ARRAY reference
by BillKSmith (Monsignor) on Nov 07, 2020 at 21:13 UTC
    This solution is slightly better then my [@responsetext], but will not work at all unless @responsetext is declared with 'my' within the do/while loop.
    Bill