in reply to parsing a scalar into an Array
If so, use split:
If that's not what you're asking, could you be more specific?my $string = "bob 299 frank 107 ted 300"; my @array = split /\s+/, $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: parsing a scalar into an Array
by BigJoe (Curate) on May 16, 2000 at 06:25 UTC |