
Peter Van Hoecke
Deleted
Apr 27, 2000, 12:26 AM
Post #3 of 3
(254 views)
|
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. #!perl.exe use strict; my($staff); $staff = "<HTML> <HEAD> <TITLE>Untitled.html</TITLE> </HEAD> <BODY BGcolor=#e5e5e5> <PRE> Yo everybody, This could me a valid e-mail to Peter\@myself! Peter.Van_Hoecke\@ecom.be is mijn e-mail </PRE> </BODY> </HTML>"; print "$staff\n\n"; $staff =~ s/(\S+\@\S+\w)/<a href="mailto:$1">$1<\/a>/gi; print $staff;
|