in reply to RE: Answer: What is a good
in thread What is a good "Press any key to continue" code?
What if you're using the elements of @ARGV to hold keywords or other items?
I'd fail this one in code review, since it has a trivial fix, could cause significantly odd behavior, and indicates a confused mind in general.
My code-review rule is:
if you prompt to STDOUT, you should read from STDIN, not ARGV.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: Answer: What is a good
by tye (Sage) on Sep 22, 2000 at 07:32 UTC | |
by tilly (Archbishop) on Sep 22, 2000 at 14:56 UTC | |
by tye (Sage) on Sep 22, 2000 at 23:04 UTC | |
by merlyn (Sage) on Sep 23, 2000 at 02:37 UTC | |
by merlyn (Sage) on Sep 22, 2000 at 21:05 UTC |