in reply to shellscript to Perl

http://perldoc.perl.org/functions/system.html

http://perldoc.perl.org/perlop.html#Quote-Like-Operators <-- read about qx.