Check out the new USENIX Web site.
[ActiveState] Keyword arguments

Currently two different ways of passing keyword arguments in method calls are provided:

$o->foo($pos1, $pos2,
        *key1 => $val1,
        *key2 => $val2);

$o->foo($pos1, $pos2,
        Python::KW(key1 => $val1,
                   key2 => $val2));

(One of them will probably be dropped in the final version.)


 www.ActiveState.com 12/32 ««/\»»