From: Paul Rubel Date: 2001-12-07T04:15:57+09:00 Subject: [ruby-talk:27733] here document strings and @#@# Hello, I've been working with here documents today and ran into some odd behavior. If I place @#@# in the here document I get a SyntaxError. If I put a space between the @#'s it works as I'd expect. prubel@cornet /tmp> cat /tmp/st.rb #!/usr/bin/env ruby aString = < /tmp/st.rb /tmp/st.rb:4: compile error in string expansion (SyntaxError) /tmp/st.rb:4: parse error prubel@cornet /tmp> I tried it on both 1.6.2 and 1.6.5 under linux and they showed the same behavior. It's probably a nut loose on the keyboard though :) I'd be appreciative if anyone could explain this to me. thank you, Paul