Anthony Vanelverdinghe wrote:

> Hi
>
> When I run a very simple Perl program, it closes immediately after it has
> done. So that I can't even see the output. How can I solve this?
>
> Thanks in advance!

I take it you are running Windows?  If so, you should be running Perl from the
command prompt.
In general, if you want to do serious work with the system, you should get used
to working with
the command prompt.  There are a variety of other jobs for which no GUI tool is
available.

[OT but useful for Windows users]
My suggestion:
Open your Start Menu, then Programs, then Accessories.
*Right-drag* the shortdut named MS-DOS Prompt [9x] or Command Prompt [Win2K or
XP]
either to the base of the start menu or to your desktop.  Drop it and select
"Copy here" from the
context menu.

You can also enter:
cmd
in the dialog that comes up with the "Run..." command on the start menu.  Once
selected, this
command will become avaiable on the drop-down menu.

If you find the black screen ugly, irritating, or intimidating, you can adjust
the display colors by
right-clicking the title bar of the command prompt, selecting Defaults, then, if
necessary the
Colors tab, and selecting the preferred background and foreground [text]
colors.  I have black
type on an off-white background.  The off-white shade differs just enough from
other window
backgrounds to make the command environment immediately recognizable.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to