in reply to Exposing Python APIs in Perl.
which prints here (Linux + Perl 5.8.8 + Py 2.5 + Inline::Python 0.22):use strict; use warnings; say('Perl'); # - - - - - - - - - - - - - - - - - - # use Inline Python => <<'MONTY' def say(stuff): print 'python says: ' + stuff MONTY # - - - - - - - - - - - - - - - - - - #
python says: Perl(with a trailing newline ;-)
|
---|