
kvall
New User
Aug 10, 2002, 3:35 PM
Views: 341
|
|
AAARGH!!!!.... This Is FRUSTRATING!
|
|
|
The following code works fine if I remove all mentions of $email. foreach $result (@results){ chop $result; ($name, $year, $org, $email) = split /\~/, $result; print "<tr><td>$name</td>\n"; print "<td>$year</td>\n"; print "<td>$org</td>\n"; print "<td><a href=mailto:$email>$email</a>\n"; print "</td></tr>\n"; } print "</table>\n"; With $email in the code I get the following error message. Use of uninitialized value in concatenation (.) or string at scripts\alphasearch.pl line 82 Line 82 is the first use of $email. I am sure the problem is the @ sign contained in the value of $email, I just don't know how to work around it. Thanks in advance for your help.
(This post was edited by kvall on Aug 10, 2002, 3:40 PM)
|