in reply to Re: How to iterate thru entire array with start point other than beginning
in thread How to iterate thru entire array with start point other than beginning
you can usemy @sel = @month_name[$startMonthIdx .. 11, 0 .. $startMonthIdx - +1];
gives the same output as above.my @sel = @month_name[$startMonthIdx - 12 .. $startMonthIdx - 1];
|
|---|