in reply to Re^2: Newbie cmd prompt problem
in thread Newbie cmd prompt problem
Perl preaches there's more than one way to do it ... but that's completely the wrong way to do it.
Go to "Start" -> "Run" and enter 'cmd' (without the quotes) and press the "OK" button
Get familiar with Command Prompt (DOS) commands like 'cd' to change directory into the directory where your Perl script is. From there, type:
C:\> perl myscript.pl
where 'myscript.pl' is the name of your Perl script.
Alternatively, add the line:
system "pause";
as the very last line in your Perl script. That's the "poor man's way" of keeping the Command Prompt open when you double-click a Perl script to run versus running it from the command line.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Newbie cmd prompt problem
by nquiton (Novice) on Sep 12, 2013 at 00:26 UTC |