Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Printing from three arraysby Discipulus (Canon) |
on Sep 26, 2019 at 08:55 UTC ( [id://11106725]=note: print w/replies, xml ) | Need Help?? |
Hello oysterperl and welcome to the monastery and to the wonderful world of perl! You start with @array1 but I think is better to cycle @array2 which seems governing your output.
PS as wisely said by hippo, cycling indexes is no more needed, so semplified nested loop will be:
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|