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


in reply to Running shell script which needs runtime input through perl

perldoc system