in reply to STDIN

Yeaas, and as usual there are a million permutations. Some simple ones leap to mind.

system ( "echo yes | /usr/bin/querrelous" );

which obviously will only work for the one 'yes'or'no'

open ( SYS "|/usr/bin/querrelous" ); print SYS 'yes' , $/;
For anything more complicated maybe you should think about IPC::Open2 for talking and listening to your process.
submersible_toaster bashing buttons