Peter Van Hoecke
Apr 27, 2000, 12:26 AM
Post #3 of 3
Actually this is better, and to prove my point copy the $staff html in a file (test.html), look at it, run this code with a redirect to this file (perl script.pl > test.html) and hit the reload.
$staff = "<HTML>
This could me a valid e-mail to Peter\@myself!
Peter.Van_Hoecke\@ecom.be is mijn e-mail
$staff =~ s/(\S+\@\S+\w)/<a href="mailto:$1">$1<\/a>/gi;