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


in reply to What is a good "Press any key to continue" code?

For windows based systems:

system( 'pause' );