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


in reply to Double clicking a raw mode Win32::Console app

If you don't need Win32::Console, this one also waits for the pressing of a key:
print "\nFile table.html created (press a key)\n"; $line = <STDIN>;