Migrating to perl?

Aahz Maruch aahz at panix.com
Fri Jan 5 10:50:30 EST 2001


In article <V%c56.4648$of7.221797 at news1.atl>,
Joel Ricker <joejava at dragonat.net> wrote:
>
>I thought of the question about security and the need for taint modes but
>then I realized since there may not be system calls like `del *.*` there
>might not be a need for it.  I'm sure that if Python is in general use as a
>CGI language then those issues have been cleared up.  Are there any thing
>you have to watch for like running in taint mode in perl?

There are system calls, but Python programming (particularly in a CGI
environment) tends to avoid them, simply because they tend to be
OS-centric (for example, your "del *.*" above would need to be written
as "rm *" on Unix).  Python provides modules that handle many of the
cases that you'd use system calls for in Perl (not that Perl doesn't
provide those modules, but it's not part of the mindset to the same
extent that it is in Python).

Python's cross-platform approach serves you well in this regard.
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"This is Usenet.  We're all masturbating in public places."  -DH



More information about the Python-list mailing list