Do you want something like:
--my @responses; while (1) { my $response = <$remote>; if ($response eq 'SQLEND') { last; } else { push @responses, $response } }
Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Creating Arrays on the Fly
by davorg
in thread Creating Arrays on the Fly
by sdl3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |