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

print "<a href=\"http://www.perlmonks.org\">Perlmonks</a>";
Should work just fine. You have to add a \ to anything you want to print that would normally be in a perl statement. (For the life of me the word for the concept of \(something) wont come to me. Its on the tip of my tongue... It's Monday, I suppose.)

_14k4 - webmaster@poorheart.com (www.poorheart.com)

Replies are listed 'Best First'.
Re: Re: Double Quotes
by davorg (Chancellor) on Jun 04, 2001 at 16:58 UTC

    Or, of course, you can use alternative quoting operators to remove the need to use ugly escaping characters.

    print qq(a href="http://www.perlmonks.org">Perlmonks</a>);
    --
    <http://www.dave.org.uk>

    "Perl makes the fun jobs fun
    and the boring jobs bearable" - me

Re: Re: Double Quotes
by AidanLee (Chaplain) on Jun 04, 2001 at 17:28 UTC
    fyi, It's called "escaping"