http://qs321.pair.com?node_id=11135355


in reply to Re^2: Inline::Java with MCE::Hobo
in thread Inline::Java with MCE::Hobo

Greetings eraskin,

Have you tried importing SexCoder inside the input_task Hobo routine. This is where to load the class uniquely per worker child.

sub input_task { require SexCoder; SexCoder->import(); # THIS CALLS JAVA TO CREATE THE CONNECTION TO DATA SERVICES my $sexcoder = SexCoder->new("$ds_server", 4000); ... }