CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
\n

 



TedW
Deleted

Nov 23, 2000, 7:58 AM

Post #1 of 2 (806 views)
\n Can't Post

Thanks, sleuth and ahmad (re. getting past step one). Check out my work of art at tedweddell.com/cgi-bin/lovePerl.com

BTW ahmad, I realy like your pages on the robin's nest. But, they're all flown away now and time to get on with the yard work, heh?

Here's another simpler stumbler.
#############################################

#!/usr/local/bin/perl

print "content-type:text/html\n\n";

print "Hello, I am Ted. I love perl.\n";

for ($index = 0; $index <= 100; $index++) {
if ($index % 10 == 0) {
print ("$index ");
}
}

#Why do I get a space at \n instead of a new line?


perlplexer
Deleted

Nov 23, 2000, 8:35 AM

Post #2 of 2 (806 views)
Re: \n [In reply to] Can't Post

either use 'text/plain' or do print "$index<BR>"

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives