Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i dont understand where i am going wrong with split. thanks xwhile (<FILE>) { $line = $_; chomp ($line); @array = (); @array = split (/\s+/, $line); print $array[8]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'split'-ting headache
by Joost (Canon) on Jun 11, 2002 at 14:31 UTC | |
by Anonymous Monk on Jun 11, 2002 at 14:39 UTC | |
by jeffa (Bishop) on Jun 11, 2002 at 15:00 UTC | |
|
Re: 'split'-ting headache
by Abigail-II (Bishop) on Jun 11, 2002 at 14:28 UTC |