why isn't this working (perl Question)

Sean Roe plug-discuss@lists.PLUG.phoenix.az.us
Sun, 22 Apr 2001 15:00:08 -0700


Hi All,

I have a regex in a perl program that should return an email address but
instead it returns 1.  THe line in question is:

$email = $bufr =~ /\<*.\@.*\>/;

I am trying to parse a log for bad email addresses but it seems to only
return 1 in $email when it finds one.  What am I doing wrong?

Sean