in reply to How to iterate thru entire array with start point other than beginning
#!/usr/bin/perl use warnings; use strict; my @month_names = qw( January February March April May June July August September October November December ); for my $start (0 .. 11) { for my $month ($start .. 11 + $start) { print $month_names[ $month % 12 ], ' '; } print "\n"; }
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to iterate thru entire array with start point other than beginning
by dirtdog (Monk) on Sep 01, 2016 at 16:57 UTC |