in reply to user input behavior from within a subroutine
What I would do (and often have done myself, either for a Perlmonks post, or just on my own), is to strip out parts of the code, a little bit at a time, and continuously retry it. Your goal should be to make it as close to the original post as you can. (And do, please, add "use strict;" and "use warnings;" at the top of the code first).
If at any point it starts working, assuming the changes you made were small each time, you will probably say "Aha!", and have reached enlightenment on your own.
If not, you can post the new, shortened, and hopefully less inelegant code here, and one of use will say "Aha!", and point you towards enlightenment.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: user input behavior from within a subroutine
by bw (Novice) on Aug 02, 2006 at 20:30 UTC | |
by liverpole (Monsignor) on Aug 02, 2006 at 21:26 UTC | |
by bw (Novice) on Aug 03, 2006 at 13:51 UTC | |
by liverpole (Monsignor) on Aug 03, 2006 at 16:09 UTC | |
by bw (Novice) on Aug 03, 2006 at 16:50 UTC |