package IncludedTextFiles; # declare as part of the module namespace our @text; # include file contents inside heredocs... $text[1] = <<'END_OF_FILE'; contents of the first text file... END_OF_FILE $text[2] = <<'END_OF_FILE'; contents of the second text file... END_OF_FILE; $text[3] = <<'END_OF_FILE'; contents of the third text file... END_OF_FILE;