#!/usr/bin/ruby
puts "Content-type: text/html\n\n"
print <<HERE1 # simple heredoc
<div style="color:red">
If you come to a fork in the road, take it.
</div>
HERE1
print <<HERE2
<div style="color:blue;">
It ain't over till it's over.
</div>
HERE2
If you come to a fork in the road, take it.
It ain't over till it's over.