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
In reply to Re: saving rest of array after a match
by ViceRaid
in thread saving rest of array after a match
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |