in reply to Preserve whitespace with PPI::Tokenizer
It's obviously preserving whitespace, just adding newlines. Fix:
chomp(@lines); [download]