http://www.perlmonks.org?node_id=1211609


in reply to Passing a structure from C to Perl

I have been searching the documentation, but unable to find the solution.

Did you read about 'interprocess communication'?