Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
# @thermo_params contains the data. my @thermos; my $data_line; foreach $data_line (@thermo_params) { @thermos = split (/\s+/, $thermos); print "$thermos[0]\n"; print "$thermos[2]\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: foreach problem
by dws (Chancellor) on Feb 26, 2003 at 10:10 UTC | |
|
Re: foreach problem
by edan (Curate) on Feb 26, 2003 at 11:00 UTC | |
|
Re: foreach problem
by Hofmator (Curate) on Feb 26, 2003 at 13:33 UTC | |
by Abigail-II (Bishop) on Feb 26, 2003 at 14:12 UTC |