in reply to user input behavior from within a subroutine
It looks to me as though you have a foreach {} loop that doesn't end properly (well, it is ended by what you seem to think, based on indentation, is the end of the subroutine). Maybe it is just a typo in your posted code ... ?
It seems more likely (based on the code) that you would be repeatedly prompted for attribute value answers ... and since you're not printing a \n on the prompt line, it may look as though you're not really stepping through the attributes ... but still, I would think that your responses would be printed and would result in a carriage return/line feed ...
Can you check your curly braces and make sure the code properly closes out the foreach loop, and post the actual output, please?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: user input behavior from within a subroutine
by bw (Novice) on Aug 02, 2006 at 18:15 UTC | |
by ptum (Priest) on Aug 02, 2006 at 18:46 UTC | |
|
Re^2: user input behavior from within a subroutine
by ikegami (Patriarch) on Aug 02, 2006 at 18:10 UTC | |
|
Re^2: user input behavior from within a subroutine
by bw (Novice) on Aug 08, 2006 at 17:02 UTC |