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