The way to avoid quote-confusion is to learn to use the q() and qq() functions which provide single and double quotes. So your link could be built like this:
Note - the q and qq functions allow the usage of almost any delimiter - I choose the vertical bar, which is not commonly used for quoted stuff or HTML.my $new_link = qq|<a href="perlfunction">Info on perl functions</a>|;
"XML is like violence: if it doesn't solve your problem, use more."
In reply to Re: Run Perl function using href
by NetWallah
in thread Run Perl function using href
by rainmanh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |