http://qs321.pair.com?node_id=266277


in reply to Small Problem with running Perl Scripts in Windows

This is similar to an issue I used to deal with using Turbo C++ for DOS programs. The solution there was a getch() statement, so I suggest doing the same thing. That is, at the end of your script add:
print "Press <Enter> To Continue..."; my $in = <STDIN>;