in reply to print join n times on a line
local $, = ", "; local $\ = "\n"; while (@GetServiceList >= 7) { print splice @GetServiceList, 0, 7; } print @GetServiceList if @GetServiceList;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print join n times on a line
by ambrus (Abbot) on Apr 13, 2011 at 08:19 UTC | |
by JavaFan (Canon) on Apr 13, 2011 at 08:38 UTC |