Looks fine, excepr for what the error message says, a syntax error, you're missing a left paren in each condirional:
for example. You ought to improve your indentation style ( see perlstyle).elsif (($Age < 60) && ($Age > 39))
After Compline,
Zaxo
In reply to Re: A newbie's first try at conditionals
by Zaxo
in thread A newbie's first try at conditionals
by Nihil Angst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |