[Zope-Perl] Calling python functions with keyword arguments fromperl
Maarten Slaets
mslaets@information-innovation.com
Wed, 16 Aug 2000 09:47:41 +0200
David Ascher wrote:
>
> 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
I like this one best too.
--
Maarten.