I have been trying out Inline::Python 0.22 on Linux using Perl 5.8.8 and
Python 2.4.4, and I have trouble calling the following Python function:
def myCreateNode(nodeType, **keywords):
...
I call it as follows from Perl:
my $sensor = myCreateNode("VectorFileSensor", { -step => 1, -value
=> $size });
I get the following error message - it seems to not recognise
keyword-style function arguments:
Error: Python error occurred:
TypeError: myCreateNode() takes exactly 1 argument (2 given)
Any clues would be appreciated.
Thanks