Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Double Quoutes

by mirod (Canon)
on Jun 04, 2001 at 16:52 UTC ( #85458=note: print w/ replies, xml ) Need Help??


in reply to how to put double quotes inside strings? (was: Double Quoutes)

There are plenty of ways, here are some:

  • using CGI.pm: print a( {href => "$link"}, "foo");
  • using alternate delimiters: print qq{ <a href="$foo">foo</a>};
  • the dirtiest: print '<a href="', $link, '">foo</a>';

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://85458]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-08-28 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (391 votes). Check out past polls.