undef $/; open (FILE,"/path/to/header.html"); my $file = ; close(FILE); print "$file";