sub decide{ if ($answer =~ /^[Yy]/ ) { yes(); } else{ not(); } } [download]
Originally posted as a Categorized Question.
In reply to If/Else statement in subroutine. How do i place it? by damian1301