Remove all newlines and spaces from a file.
perl -pe 's/[\n ]+//sg' filename.txt
Category: Omaha Perl Mongers