in reply to Re: Ending user input
in thread Ending user input

thanks for info. I tried your script and got an error message with "@a". What does the explicit package name refer to in this error message?
Global symbol "@a" requires explicit package name at C:\Perl\bin\EnRev +er.pl line 3.

Replies are listed 'Best First'.
Re: Re: Re: Ending user input
by DigitalKitty (Parson) on May 28, 2002 at 19:49 UTC
    Hi.

    You need to precede the '@a' array with 'my'.
    You could define it above the main code section or as needed:
    my @a = qw( 1 2 3 );


    -Katie.