local $/ = undef; my $user_defined_string = ; # script here # USER: put your text after the __DATA__ token, but leave that line alone! __DATA__ blah blah blah and more of the same