Home : Products : DBMan : Customization :

Products: DBMan: Customization: Perl syntax problem: Edit Log

Here is the list of edits for this post
Perl syntax problem
Hi,

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?

Last edited by:

alon_g: Jul 17, 2002, 5:28 AM

Edit Log: