Once again there are many ways to do this - A good starting point would be to have a look at the Perl interprocess communication manpage (perlipc). This page provides a good overview of available methods by which processes can communication between one another and call internal functions including signals, named pipes, sockets and SysV IPC.
It would also be worth having a look through CPAN, in particular the Networking Devices and IPC section, to see what is available for this type of communication.
perl -e 'print+unpack("N",pack("B32","00000000000000000000000111011100")),"\n"' | [reply] |