use strict; print "Do you want to play pinball?\n"; if( =~ /y/i){ `C:/Program Files/Windows NT/Pinball/PINBALL.EXE`; }