in reply to indented here-doc "delimiter"

#!/usr/bin/env perl my $string = <<~THEEND; EOF THEEND print $string; # FAIL
THEEND
is the chosen delimiter