[Zope-Perl] Calling python functions with keyword arguments from perl

David Ascher DavidA@ActiveState.com
Tue, 15 Aug 2000 10:11:58 -0700 (Pacific Daylight Time)


On 15 Aug 2000, Gisle Aas wrote:

> Other potential interfaces I could think of include:
> 
>   * Use some specific object to wrap the keyword arguments.  It looks
>     uglier than the plain hash, will be slower, but will be safe from
>     surprises.
> 
>        $obj->foo($pos1, $pos2, KW( key1 => $val1, key2 => $val2 ));

That one is my personal favorite for now, as it is the safest while not
being _too_ ugly.  

--david ascher