Ask a Question related to PERL Beginners, Design and Development.
-
Anthony Vanelverdinghe #1
Program close
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!
__________________________________________________ _______________
De nieuwe Pirelli 2004 kalender al gezien? [url]http://auto.msn.be/pirelli2004/[/url]
Anthony Vanelverdinghe Guest
-
CFExecute - Program doesn't close CFMX
i had the same problem... in the end i just resorted to a UDF that is quite handy. http://www.cflib.org/udf.cfm?ID=744 -
PDF and program won't open; "Error in Acrord32" "This program has performed an illegal operation and
I recently had a browser hijacker. Fixed it with Norton and Lavasoft. Now, after downloading new Reader 6.0, I can't open anything. Only gives... -
close my project that is in a browser window (close this window)
How can I do this with a button? What do I have to put into button? -
Schedule a program to close
You might want to schedule a program like taskkill to run at a certain time and kill a certain app. Andrej On Mon, 21 Jul 2003 09:28:06 -0700,... -
"End task" command doesn't close a program
What is wrong with my question since nobody answers it? How to improve the question? "Dmitriy Kopnichev" <kopn@hotbox.ru> wrote in message... -
Ned Cunningham #2
RE: Program close
Create a simple .bat file call the Perl script and add a pause command after it. :)
Ned Cunningham
POS Systems Development
Monro Muffler Brake
200 Holleder Parkway
Rochester, NY 14615
(585) 647-6400 ext. 310
[email]ned.cunningham@monro.com[/email]
-----Original Message-----
From: Anthony Vanelverdinghe [mailto:anthony_ve@hotmail.com]
Sent: Tuesday, February 10, 2004 12:30 PM
To: [email]beginners@perl.org[/email]
Subject: Program close
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!
__________________________________________________ _______________
De nieuwe Pirelli 2004 kalender al gezien? [url]http://auto.msn.be/pirelli2004/[/url]
--
To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
For additional commands, e-mail: [email]beginners-help@perl.org[/email]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Ned Cunningham Guest
-
Dan Muey #3
RE: Program close
> Hi
Howdy
Don't use windows! :)>
> 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?
>
Or try executeing it from a dos prompt directly.
HTH> Thanks in advance!
DMuey
Dan Muey Guest
-
R. Joseph Newton #4
Re: Program close
Anthony Vanelverdinghe wrote:
I take it you are running Windows? If so, you should be running Perl from the> 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!
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
R. Joseph Newton Guest
-
Karl Hakmiller #5
Re: Program close
----- Original Message -----
From: "Wagner, David --- Senior Programmer Analyst --- WGO"
<David.Wagner@freight.fedex.com>
To: "Anthony Vanelverdinghe" <anthony_ve@hotmail.com>; <beginners@perl.org>
Sent: Tuesday, February 10, 2004 12:41 PM
Subject: RE: Program close
-----Original Message-----
From: Anthony Vanelverdinghe [mailto:anthony_ve@hotmail.com]
Sent: Tuesday, February 10, 2004 09:30
To: [email]beginners@perl.org[/email]
Subject: Program close
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 created a simple sub routine which I placed in the Perl/site/lib
directory. Then if I am not running from a shell, I place the use statement
and the simple call to the sub which basically has a display "depress any
key to continue" and
chomp(my $MyInput = <STDIN>);
Wags ;)
There is also a graceful death module for Win32 users of Perl named
Win32::Die on CPAN.
It holds the DOS command line window open (so you can read screen output) ;
it waits until you press a key before closing the DOS window.
Karl Hakmiller Guest



Reply With Quote

