Re: setting perls ARGV

Felix Schwarz <[email protected]> Thu, 1 Jun 2006 11:55:12 +0200
Newsgroups gmane.comp.web.zope.perl
Message-ID <[email protected]>
Hallo Mathew,

Mathew Yeates schrieb:
> I have a perl file which usually gets called from the command line. From
> my python script I am reading the file into a string and the calling 
> perl.eval on the string.

> Because the perl script is usually executed from the command line, the 
> script makes use of @ARGV. How can I set this from my python script?

I don't know if this is supported yet.
1. os.system(" ... ") will always work.
2. Ideally sys.argv = ["abc", "..."] should work too but I think, a
patch is needed for this.

-- 
Felix

_______________________________________________
Zope-perl maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-perl