My end goal in this situation is just to be able to use arrow keys for browsing through different areas of a script. Whenever an arrow key is pressed I want it to run a new subroutine as specified. Currently I have it matching "q" for previous subroutine and "w" for next subroutine. I figured this is not as intuitive as <- ->. I am very new to perl, and it is essentially my first programming language. I will try to figure out a way to implement multiple input capturing. The entire script, with its 5 or so modules, is about 8000-9000 lines, so it will be interesting to figure out how to do that. Gosh I wish there was an easier way to do this.