damian1301 has asked for the wisdom of the Perl Monks concerning the following question:
sub decide{ if ($answer =~ /^[Yy]/ ) { yes(); } else{ not(); } }
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: If/Else statement in subroutine. How do i place it?
by merlyn (Sage) on Sep 04, 2000 at 18:08 UTC | |
|
Re: If/Else statement in subroutine. How do i place it?
by tilly (Archbishop) on Sep 04, 2000 at 17:02 UTC | |
|
Re: If/Else statement in subroutine. How do i place it?
by ar0n (Priest) on Sep 04, 2000 at 12:38 UTC | |
|
Re: If/Else statement in subroutine. How do i place it?
by athomason (Curate) on Sep 04, 2000 at 07:48 UTC | |
|
Re: If/Else statement in subroutine. How do i place it?
by BastardOperator (Monk) on Sep 06, 2000 at 02:52 UTC |