Do you know where your variables are? | |
PerlMonks |
Re: Help with simple calculator script.by monktim (Friar) |
on Oct 24, 2003 at 16:14 UTC ( [id://301883]=note: print w/replies, xml ) | Need Help?? |
If it's a homework than maybe eval can't be used yet.
You just need to read in the operator (- *) just like you read in the Name. Then you can use if. Read about the if statement and comparison operatiors (eq == ne !=).
In Section
Seekers of Perl Wisdom
|
|