sub decide{ if ($answer =~ /^[Yy]/ ) { yes(); } else { not(); } }
Originally posted as a Categorized Answer.
In reply to Re: If/Else statement in subroutine. How do i place it?
by tilly
in thread If/Else statement in subroutine. How do i place it?
by damian1301
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |