peacepanda3 has asked for the wisdom of the Perl Monks concerning the following question:
Can some one tell me what is that I am doing wrong.Thanks Ajit#!/usr/bin/perl # print CGI header print "Content-Type: text/html\n\n"; # now print the time print "<html> <head>\n"; print "<title>Current Date and Time</title>\n"; print "</head> <body>\n"; print "<h1>The date is now</h1>\n"; print "<p>$time = (localtime),"</p>"; print "</body>\n" print "</html>\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl program giving errors
by Anonymous Monk on Mar 14, 2012 at 15:11 UTC | |
|
Re: perl program giving errors
by choroba (Cardinal) on Mar 14, 2012 at 15:12 UTC | |
|
Re: perl program giving errors
by thargas (Deacon) on Mar 14, 2012 at 17:52 UTC | |
|
Re: perl program giving errors
by mendeepak (Scribe) on Mar 15, 2012 at 05:45 UTC | |
by choroba (Cardinal) on Mar 15, 2012 at 09:06 UTC | |
by mendeepak (Scribe) on Mar 19, 2012 at 09:24 UTC |