http://www.perlmonks.org?node_id=1037576


in reply to Re: extract words from specific location
in thread extract words from specific location

No +1 does no work either , but I got the answer we can do it like  $words[++$tst_num_temp[$c2] instead of $words[$tst_num_temp[$c2]+$1] . It works . thanks anyways