[Zope-Perl] newbie Zope/Perl question

Leichtman, David J code@ou.edu
Mon, 23 Oct 2000 21:17:17 -0500


I'm new to the Zope world.

Can someone explain to me why (other than the fact that it's messy) you
can't call a Perl function like so:

import commands

def usercheck(username,password):
        res = commands.getoutput ('/opt/zope/scripts/usercheck.pl
'+username+' '+ password)
        return res

What potential problems might arise from this style of calling?