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...
> 
> (I sure hope this list never starts charging on a per-answer basis...  =)
> 
> - B

Id probably just use:

@myarray = split(/\s+/,$fContent[$i]);
shift( @myarray );

that will remove the unwanted element of the array for you.

Todd W


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to