in reply to Re^2: Why this script is not running on windows?
in thread Why this script is not running on windows?
Hi abhikalrt53,
One way to do this would be to store the ranges in an array, and then use join when outputting the array.
A simpler way to do it would be to add the comma only under certain conditions, i.e. $s .= ',' if ...; - I'm not going to give away the condition because I don't think it's appropriate I do all of your (home)work for you ;-)
Hope this helps,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why this script is not running on windows?
by abhikalrt53 (Novice) on Nov 01, 2016 at 11:22 UTC |