From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <002501c0f1f7$235fa220$6401a8c0@freeze2k> From: "Matt" To: <9fans@cse.psu.edu> References: <20010610180320.15361.qmail@g.bio.cse.psu.edu> Subject: Re: [9fans] string to list? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Sun, 10 Jun 2001 22:48:51 +0100 Topicbox-Message-UUID: b32ea36c-eac9-11e9-9e20-41e7f4b1d025 ----- Original Message ----- From: "Scott Schwartz" > | I plan to have it do eval `{$msg} and do whatever it's > | namespace will let it. > > I really wouldn't do that. It's just too unpredictable and dangerous. > eval considered harmful. being as I've not implemented it my understanding is weak but I thought that I could dictate the namespace that a process sees. If the total namespace the ircbot process sees is / /bin/opme /bin/cat /bin/ls /bin/eval /bin/echo /slashdotheadlines then all ircbot can do is combinations like echo eval 'ls /bin' echo eval 'opme' echo eval 'cat /slashdotheadlines' but because it can't bind new files in or import them it can't manipulate it's namespace via the eval