in reply to Re: print join n times on a line
in thread print join n times on a line

Correct, but let me note that there's no need for two print statements: this can be simplified to just the following.

local $, = ", "; local $\ = "\n"; while (@GetServiceList) { print splice @GetServiceList, 0, 7; }

Replies are listed 'Best First'.
Re^3: print join n times on a line
by JavaFan (Canon) on Apr 13, 2011 at 08:38 UTC
    Yeah, but then you have to remember when you can be out of bounds with splice/substr, and when it gives a warning or an error. I can never remember ;-)