use Sharable; # $pid is PID of process which is sharing data my $received_stuff = Sharable::get_data($pid); # $received_stuff will be similar to %contracts