in reply to 'Invisible' newlines/line wrapping
Now that you have provided a stealth update to your node to include more of the code the answer is obvious - you need to chomp $index and any other $variables you get populate using <STDIN>.
For future reference you should note that it is polite to indicate that you have made a significant update to your node contents. People get grumpy when their reply is made to look stupid because it doesn't match the contents of the node they are replying to.
|
|---|