It depends on your platform and environment. If it's a standard-input kind of thing and the up-arrow is doing something on the console line editor and not being passed to the program, you want to put the console into "raw" mode. Tell more about your platform and where you are reading from (e.g STDIN ?), and I'm sure you'll get a specific reply. Raw mode stuff can be seen in the perl faq docs.
Thank you very much for your help. I am doing perl programming on windows 98. And I want to read an up-arrow from STDIN, keyboard I mean.
Thanks again.
oops