Dear all,
I have a question about pyperl.
there is a perl module test.pm:
#! /usr/bin/perl
package tset
sub Cal {
my ($v1,$v2)=...@_;
my $result=$v1+$v2;
}
print "this is a test \n";
1;
And there is a python file that calls the module above,
import perl
perl.require("test");
#perl.call("Usage","
Hey, Kenny.
I offer to stop wasting your time on that cool by marginal solution.
Please use old good tools for inter program communication.
$ perl test.pm | python test.py
as example where output from test.pm come to sys.stdin in python test.py
use json, xml, text ... with easy.
--
DmitriKo
I look at it some time ago, and had some problems with pointer errors.
I decided to use an JSON gw instead.
If any interrest Ill be happy to share!
kr
Tommy
On Wed, Mar 31, 2010 at 3:23 PM, DmitriKo wrote:
> Hey, Kenny.
>
> I offer to stop wasting your time on that cool by marginal solution.