Bryan R Harris wrote: > > Is it possible to return elements 2 (index 1) thru end of the results of a > split? > > @myarray = (split(/\s+/,$fContent[$i]))[1..-1]; > > seems right, but doesn't work...
If you are doing this because split/\s+/ returns an empty element in $myarray[0] you should use the special form of split @myarray = split ' ', $fContent[$i]; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]