Using here documents in views

I'm trying to use a here document to define a multiple-line string in a
.rhtml file.
I keep getting compile errors- "the specified string (by identifier)
could not be found before EOF"

I'm trying:

<% my_str = <<MY_END

I've also tried in seperate ERb blocks

<% my_str = <<MY_END %>
<% MY_END %>

Same problem. Is there a simple thing I need to do?

Thanks a lot.

Hi --

sorted! thank you!