Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Register
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Perl Programming
:
print
Previous Thread
Next Thread
Print Thread
View Threaded
Aug 5, 1999, 2:57 AM
Pasha1
User
(207 posts)
Aug 5, 1999, 2:57 AM
Post #1 of 4
Views: 390
Shortcut
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>";
???
Aug 5, 1999, 3:22 AM
Eddie
User
(237 posts)
Aug 5, 1999, 3:22 AM
Post #2 of 4
Views: 379
Shortcut
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
.
Both of them should be interpreted well by perl program. I've tried them already.
Aug 5, 1999, 3:31 AM
Bobsie
Veteran
(3108 posts)
Aug 5, 1999, 3:31 AM
Post #3 of 4
Views: 379
Shortcut
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
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>
";
Aug 5, 1999, 3:38 AM
Eddie
User
(237 posts)
Aug 5, 1999, 3:38 AM
Post #4 of 4
Views: 379
Shortcut
Re: print
In reply to
Bobsie? Hey, where have you been man. You've been a topic in Links Discussion and Modifications forum
. Missing in action...hehe.
Previous Thread
Next Thread
Print Thread
View Threaded