faqts : Computers : Programming : Languages : Perl

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

15 of 39 people (38%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

On my Win98PC .pl files automatically run in dos, but they close as soon as the program ends. How do I fix this?

Feb 23rd, 2001 14:03
Tony Crosby, Xavier Halloran,


Simply add
system("pause");
to the bottom of your script.