Hello,

I am trying to replace some old Perl scripts with Ruby, however

i get stuck with this line

>>

if line =~/($time)/ && line =~/(xxx)/

<<
$time is a global variable containing the current day/month, but it
wont match!
what am i doing wrong?


I am new to Ruby, so please dont be offended.