May 30, 2008, 11:08 AM
Post #2 of 5
you need to run a program from your terminal, if you are executing your file just by clicking on icon of the source code it will execute it, and once program is done it will terminate itself and window/shell. so if you would go to your command prompt and find your file and then type "perl nameOfYourFile.pl" that will execute your script, and you will stay inside your shell. you can also do something silly like sleep action after your hello world thing, so if you execute it same way as you did before, program will not terminate right away.
Re: [amitashr] starting trouble
[In reply to]
that will leave your script running for extra 20 seconds.
good luck with learning :) Perl is amazing language!