in reply to foreach problem
foreach my $data_line (@thermo_params) { my @thermos = split /\s+/, $data_line; print "$_\n" for @thermos[0,2]; }
-- Hofmator
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: foreach problem
by Abigail-II (Bishop) on Feb 26, 2003 at 14:12 UTC |