I can't get keyboard input into the variable.
The code is the rather simple
print "What is your name? "; $name = <STDIN>; print "Your name is $name\n";
The script doesn't wait for the keyboard. Any fix for this one, or is the Mac OS completely hopeless?
Thank you, and blessings.
In reply to STDIN under MAC OS 10.4.11 by AliceQuint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |