in reply to Creating Arrays on the Fly
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>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating Arrays on the Fly
by broquaint (Abbot) on Sep 11, 2001 at 17:33 UTC | |
|
Re: Re: Creating Arrays on the Fly
by sdl3 (Novice) on Sep 11, 2001 at 19:04 UTC | |
by Rhose (Priest) on Sep 11, 2001 at 22:01 UTC |