in reply to parsing a scalar into an Array

Your data looks structured. If you want to relate the name to the number you can use a hash instead of an array:
my $string = "bob 299 frank 107 ted 300"; my %hash = split /\s+/, $string; foreach (keys %hash) { print "$_, $hash{$_}\n"; }
or: Since you mentioned that you want to read them from a file, and using an array (becuase your subject asks for it :-) ).
my $file = "/home/andrew/data.txt"; my @array; open (FOO, $file) or die "can't open $file"; while (<FOO>) { @array = (@array, split /\s+/, $_); }; foreach (@array) { print "$_\n"; };

Nuance

Baldrick, you wouldn't see a subtle plan if it painted itself purple and danced naked on top of a harpsichord, singing "Subtle plans are here again!"