#!/usr/bin/perl undef $/; open (IN, "input"); open (OUT, ">output"); $_ = ; s/\n//g; print OUT $_;