Hi,
I'm not so familiar with perl, please tell me what's wrong here:
$rec{'hometeam'} =~ s/<.?B>//g;
}
else{
$rec{'awayteam'} =~ s/<.?B>//g;
}
I'm trying to disable bolding for a specific record. this code is in html_record just below my (%rec) = @_;. I also tried it with == and even using a global like $isr=Israel.
Can anyone tell me what's wrong here?
I'm not so familiar with perl, please tell me what's wrong here:
Code:
if($rec{'hometeam'} eq 'Israel') { $rec{'hometeam'} =~ s/<.?B>//g;
}
else{
$rec{'awayteam'} =~ s/<.?B>//g;
}
I'm trying to disable bolding for a specific record. this code is in html_record just below my (%rec) = @_;. I also tried it with == and even using a global like $isr=Israel.
Can anyone tell me what's wrong here?