From: John Maclean Date: 2006-01-21T02:33:20+09:00 Subject: error:- "regex literal in condition" Hi Guys, Simple script that spits out "Ruby" if it was typed at stdin. What's the error, see below. #!/usr/bin/env ruby while gets if /Ruby/ print end end jayeola@tp20$ ruby fx/ruby/p22 fx/ruby/p22:4: warning: regex literal in condition haha Ruby Ruby -- John Maclean MSc (DIC) 07739 171 531