|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: pmchatby merlyn (Sage) |
| on Jun 03, 2001 at 16:43 UTC ( [id://85328]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Brief code review item...
It's bad form to mix prompting with <>. Use <STDIN> instead. The <> operator was designed for pipe filters, looking at @ARGV (and therefore the command line) to determine whether to read from files or read from standard input. Since your program isn't wanting that feature (you really need the input to be from the terminal), your use of <> is misleading. -- Randal L. Schwartz, Perl hacker
In Section
Code Catacombs
|
|
||||||||||||||||||||||||