in reply to interactive mode

I think you ment:
print "Enter the name: "; while ($line = <STDIN>) { # do whatever you want, $line holds the user's input }
all user's input until he presses the enter key is stored in $line. Please make your question a little clearer so we can help more

Hotshot

Replies are listed 'Best First'.
Re: Re: interactive mode
by venki (Acolyte) on Jan 07, 2003 at 16:20 UTC
    Thank You
    This is what i want. Sorry for not giving you clear cut idea about my issue.