On Thu, Aug 09, 2001 at 08:42:28PM -0400, fazertech wrote:
: Hi,
: 
: I am new to Perl and I wanted to know one simple thing. Lets say that I want
: to creat a program that would ask you for your age. Somewhat like this:
: Please enter your age:
: Then when the user enters his/her age, then it would print the age that the
: user typed. Like this:
: Please enter your age: 24
: Your age is: 24
: 
: this is what I ask for and i know that it is pretty simple, so please can
: any one help me here??
: thanks

Hi there,

Have you tried anything yet?  If you have code that isn't working we'd
gladly help you through it.

The basic idea is this:

  First, print() out your question.

  Next, store what the user typed into STDIN in a variable.

  Finally, print() your statement along with the value of the
  variable.

We'd love to help you on any code you might have.

  Casey West

-- 
"If I have been able to see further, it was only because I stood on
the shoulders of giants."
 -- Sir Isaac Newton

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to