I have written a very simple script which was a part of chapter 1 of my first Perl lesson. The script let's me type 1 sentence and then the script prints that sentence again. When I double click on the script then my perl interpreter (ActivePerl 5.8.8 Build 819) executes the script but the dos window is immediatly gone afterwards! I want to see the result, but in a split second it is gone. Is there a possibility for executing Perl scripts so that the result can be normally viewed? My manual says that there is a way but only by using the shell, now that would be very old fashioned for such a sophisticated language.
The manual said:
However, the window containing the output will disappear as soon as the program has finished (try it!), and you won't be able to see what's happened, so I encourage you to use the shell instead.
What is the absolute best Perl interpreter, Visual Perl creator etcetera, whatever the cost. I am looking for simplicity. (windows xp)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.