On Wednesday, 12. November 2008, Júlio Cesar Bueno Cotta wrote:
> Thanks to everybody who gave me a reply.
> The problem already is solved..just one apt-get install python-dev and I
> got install the inline-python.
>
> Now, I ought like to know one thing..
> I wrote a python method what return a list of tuple..when I try to get this
> values in a array in perl. I don't know how recover the values..

Tuples and lists both get converted to arrays or array references when 
entering the Perl world.

> *my @subnets=getsubnets($nome_shared);

@subnets should contain array refs at this point.
Btw. py_call_function checks the caller context, so if you want an array 
reference instead of the array, you can get that as well:
my $subnets = getsubnets($nome_shared);

Regards,
Stefan

Reply via email to