On Feb 7, Mike Smith said: >How do I get this to work? (too many quotes) > >print "<p><img border="0" src="BD08906_.gif" width="190" height=156>\n";
You can either escape the " with a backslash... print "like \"this\"..."; but that gets to look REALLY ugly, REALLY fast. So use a different quoting operator instead: print "<a href='http://www.foo.com/'>xyz</a>"; print '<a href="http://www.foo.com/">xyz</a>'; # no variables here print qq{<a href="http://www.foo.com/">xyz</a>}; # qq is double quotes print q{<a href="http://www.foo.com/">xyz</a>}; # q is single quotes perldoc perlop, look for "Quote and Quote-like Operators". -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]