print << ' END'; Text goes here... END #### my $text; ($text = <<' END') =~ s/^\s+//gm; Indented text END