in reply to Re^2: Removing blank/empty lines
in thread Removing blank/empty lines
Syntax error it says. There's a close bracket before your print it says.
Look at the code. Is that the close bracket on your loop list? Did you put the new print inside the curly {}'s of your loop?
In Section
Seekers of Perl Wisdom