Gossamer Forum
Quote Reply
print
What's the difference between this:

Code:
print "
<b>this line
line is
in bold</b>
";

and this:

Code:
print "<b>this line is in bold</b>";
???
Quote Reply
Re: print In reply to
Ermm.. the first one consists of five lines and the second one only one line. Yeah..that should be it Smile.

Both of them should be interpreted well by perl program. I've tried them already.
Quote Reply
Re: print In reply to
Looks to me as if the first one will print as:

This line line is in bold

And the second one will print as:

This line is in bold

Smile

Actually, browsers don't care about line breaks unless a <BR> is included. They will just put one blank space between words no matter if it was written like this:

Code:
print "<b>
This
line
is
in
bold
</b>
";
Quote Reply
Re: print In reply to
Bobsie? Hey, where have you been man. You've been a topic in Links Discussion and Modifications forum Smile. Missing in action...hehe.