Scott_G <[EMAIL PROTECTED]> wrote:
:
: Hello. I am new to Perl. I used to program in C
: years ago (not C++ # etc)
:
: I have the simplest question. I am running active
: state perl 5 on Win XP.
:
: I'm using OpenPERL Ide 1.0
:
It's probably your IDE.
This works from a console:
print "Enter an integer: \n";
my $answer = <STDIN>;
print "Enter another integer: \n";
$answer = <STDIN>;
It fails in my editor because the editor is
using a method that captures i/o from a console
under windows XP. Open a console (DOS prompt)
and type the following (change where appropriate).
perl path/to/script/script.pl
: This works for me, but when I get into a larger
: program, the USER is going to have to read the
: PROMPT BEFORE they know what to type in!
If you force your window users to use a console,
this is most likely how they will access it. Not
through your IDE. Using a command line interface on
a windows platform would really lower the usage of
your program though. Windows users want GUIs.
HTH,
Charles K. Clarkson
--
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]