in reply to Re: = rather than =~ ?
in thread = rather than =~ ?

my $foo = m/(foo)/ ? $1 : '';

cheers

tachyon