Apr 3, 2006 1 #1 dunc85 Programmer Joined Apr 3, 2006 Messages 1 Location GB I have the following line of code: print "| <a href=\"mailto:enquiries@domain.com\" class=\"link\">enquiries@domain.com</a>"; and all that is printed out is: mailto:enquiries.com (link) and enquiries.com (link text) not the full address.
I have the following line of code: print "| <a href=\"mailto:enquiries@domain.com\" class=\"link\">enquiries@domain.com</a>"; and all that is printed out is: mailto:enquiries.com (link) and enquiries.com (link text) not the full address.
Apr 3, 2006 1 #2 TonyGroves Programmer Joined Aug 13, 2003 Messages 2,389 Location IE You need to either: - Escape the @ symbols by preceding them with a backslash - Use single-quotes instead of double-quotes Upvote 0 Downvote
You need to either: - Escape the @ symbols by preceding them with a backslash - Use single-quotes instead of double-quotes
Apr 5, 2006 #3 PaulTEG Technical User Joined Sep 26, 2002 Messages 4,469 Location IE perl sees them as arrays, which you haven't declared or used, so they're empty. Paul ------------------------------------ Spend an hour a week on CPAN, helps cure all known programming ailments ;-) Upvote 0 Downvote
perl sees them as arrays, which you haven't declared or used, so they're empty. Paul ------------------------------------ Spend an hour a week on CPAN, helps cure all known programming ailments ;-)