in reply to Creating Arrays on the Fly
Try this:
This reads in $response everything up to the next appearance of SQLEND.$/ = 'SQLEND'; my $response = <$remote>;
Since you want an array of lines, you'd do well to add the code
my @response_line = split /\n/,$response;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating Arrays on the Fly
by davorg (Chancellor) on Sep 12, 2001 at 16:15 UTC |