Diego Riano wrote:
> I have an array like this:
>
> @array=(1,2,3,4,5,6);
>
> And I would like to join the element starting from the third one until
> the lasta want. Something like:
>
> join (",",$array[2],$array[3],$array[4],$array[5]);
>
> The problem I have is that this array will chance from time to time
> sometimes being bigger sometimes being smaller, so I need a way to join
> the elements from the third element to last one..
> any Ideas!!
join ",", @array[2..$#];
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]