Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
eval <<-EOM
for i in [1, 2, 3]
  p i
end

p i
EOM

# should output
# 1
# 2
# 3
# 3