torres09 has asked for the wisdom of the Perl Monks concerning the following question:
while ($c2<=$#tst_num_temp) { $tst_num[$c2]=$words[$tst_num_temp[$c2]+$1]; $c2++; }
the $tst_num_temp is the array that contains location of elements and @words is the array with the elements. Now I wish to extract the element from the array @words form the location next to what is specified by the entries of @tst_num_temp . so what is wrong with what I have done , thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extract words from specific location
by 2teez (Vicar) on Jun 07, 2013 at 05:27 UTC | |
|
Re: extract words from specific location
by smls (Friar) on Jun 07, 2013 at 05:09 UTC | |
by torres09 (Acolyte) on Jun 07, 2013 at 05:13 UTC | |
by smls (Friar) on Jun 07, 2013 at 06:01 UTC |