sub getInclude { local ($/) = undef; open (SSI, "<$_[0]") ||die "Cannot open $_[0] for reading: $!\n"; my $header = ; close SSI; return $header; } #### $theheader = getInclude($myincludefile); #### print getInclude($myincludefile);