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