in reply to saving rest of array after a match
Not sure I quite understand the second part of your question, but if the code you've posted does what you want already in selecting the right bits of the array, maybe just do a map afterwards to add the whitespace?
@incline = map { "$_ " } @incline;
cheers
ViceRaid
|
|---|