in reply to Object is to be passed between different version of scripts

Hi,

Perl programs can't return Perl objects. You'll need to serialize your object and then deserialize it in the other program.

See, e.g., Storable, Sereal, YAML, JSON, CHI ...

Hope this helps!


The way forward always starts with a minimal test.
  • Comment on Re: Object is to be passed between different version of scripts