On Thu, 29 Nov 2001, Michael D. Risser wrote:

> On Thursday 29 November 2001 12:42 pm, A. Rivera rambled:
> > print "Press Return to continue or Control-C to stop.";
> > $input = <STDIN>;
>
> This does work, I use it myself, but be aware that it generates an error
> message when the script is run with the -w switch, does anyone know away
> around this?

What's the error message?

Try:

my $input = <STDIN>;

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Execute every act of thy life as though it were thy last.
                -- Marcus Aurelius


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to