Hi Stella,
On Sunday 22 April 2012 03:21:14 Stella Levin wrote:
> I have installed Inline::Python.
> Manual says: "perl is a Python module bundled with Inline::Python that gives
> you access to Perl from inside your Python code"- I cannot find this perl
> module under installation package - I cannot get working:
This may be a bit misleading. The "perl" module is only available in code
running from Inline::Python. To expand your second example:
#!/usr/bin/perl
use 5.10.0;
sub test {
say "Hello from Perl within Python";
}
use Inline Python => <<'END';
perl.test()
END
Regards,
Stefan