Hello!
I'm working on a short perl script that receives 2 arguments in the command line (or at least, that's what I'd like it to do), and puts them in variables. Afterwards, the script should pop a question and wait for user input. My problem is, that it looks like one of the arguments is being taken as input, so the script won't wait for input, and later fail.
Can anyone please tell me how can I make @ARGV invisible to <> after I've assigned the variables?
Thanks a lot.
I'm working on a short perl script that receives 2 arguments in the command line (or at least, that's what I'd like it to do), and puts them in variables. Afterwards, the script should pop a question and wait for user input. My problem is, that it looks like one of the arguments is being taken as input, so the script won't wait for input, and later fail.
Can anyone please tell me how can I make @ARGV invisible to <> after I've assigned the variables?
Thanks a lot.
Comment