On Tue, Apr 18, 2000 at 08:28:24AM +0200, Moshe Zadka wrote:

> > Quoth Moshe Zadka on Sat, Apr 15, 2000:
> > > 2. Type "python -c 'from SimpleHTTPServer import*;test()'"
>                         1234567890123456789012345678901234567890
>                                  1         2         3         4
> > 
> > Not everything should run on Python, you know.
> 
> I challenge you to write a web server in perl in fewer characters.
> (I did it in 36)

perl -e '`/etc/init.d/apache start`'

is just as silly as your solution, and requires 11 characters less.

<META http-equiv="Refresh" content="10;
       url=http://www.perl.com/pub/language/versus/python.html"> 

(See two posts up this thread for a pure Perl version that does CGI
and HTTP/0.9)

-- 
believing is seeing
[EMAIL PROTECTED]
http://www.forum2.org/gaal/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to