Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Why is "\n" displayed as space in browser?

by pobocks (Chaplain)
on Mar 17, 2009 at 06:34 UTC ( #751103=note: print w/ replies, xml ) Need Help??


in reply to Re: Why is "\n" displayed as space in browser?
in thread Why is "\n" displayed as space in browser?

Does not work, sorry to say. Any amount of whitespace is interpreted as a space by HTML.

This: An apple a day, keeps the doctor away. is the same as this:
An apple a day keeps the doctor away.
for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";


Comment on Re^2: Why is "\n" displayed as space in browser?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-07-12 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (242 votes), past polls