in reply to Re: Re: Re: Perlmonks MUD
in thread Perlmonks MOO

If everyone one in the world were positive thinking and nice, it would suffice to grab a perl telnet server (or web server) and simply eval every command sent to it. In no time, people will have built a complete MOO.

In practise, you'll have your server reformatted in no time flat.

So you go back, and try to sanitise people's commands, or switch them to a language like lisp or BASIC. You provide a backend object database, perhaps implemented with hashes (each key is an attribute for an object), overlay a security system for authenticated users (so they can't edit each other's hashes without permission).

It's one of the best examples of Model-View-Controller programming in the world.

I have a friend currently running up a MOO on our server. If you would like, I'll introduce the two of you. I'm sure he'd be interested in talking MOOcode for a bit.

____________________
Jeremy
I didn't believe in evil until I dated it.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Perlmonks MUD
by Trag (Monk) on May 27, 2004 at 18:21 UTC
    Sure, Thanks


    our @item = reverse (114, 101, 107, 99, 97, 104, 32, 108, 114, 101, 80, 32, 114, 101, 104, 116, 111, 110, 97, 32, 116, 115, 117, + 74); local $my = reverse ")meti@\ ,rhc (pam tnirp";eval $my;