in reply to Indented HEREDOC?

One workaround maybe:
($v = <<" END") =~ s/^\s+//gm; foo bar and so on END